mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-28 06:51:16 +08:00
fix(nix): use stdenv.hostPlatform.system instead of system
system has been deprecated for a while and emits a deprecation warning when evaluated
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
cfg = config.services.hermes-agent;
|
cfg = config.services.hermes-agent;
|
||||||
hermes-agent = inputs.self.packages.${pkgs.system}.default;
|
hermes-agent = inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||||
|
|
||||||
# Deep-merge config type (from 0xrsydn/nix-hermes-agent)
|
# Deep-merge config type (from 0xrsydn/nix-hermes-agent)
|
||||||
deepConfigType = lib.types.mkOptionType {
|
deepConfigType = lib.types.mkOptionType {
|
||||||
|
|||||||
Reference in New Issue
Block a user