From e02b3526c5372bacfa6c9f88becded9948205536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sun, 17 Nov 2024 11:51:44 +0100 Subject: [PATCH] use the root output variable and not other ones --- modules/nix/autoupdater.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nix/autoupdater.nix b/modules/nix/autoupdater.nix index 50fbe7b6..efa63214 100644 --- a/modules/nix/autoupdater.nix +++ b/modules/nix/autoupdater.nix @@ -65,7 +65,7 @@ with lib; doc=$(${pkgs.curl}/bin/curl -H "accept: application/json" ${cfg.hydraServer}/build/$build) drvname=$(echo $doc | ${pkgs.jq}/bin/jq -r '.drvpath') output=$(${pkgs.nix}/bin/nix-store -r $drvname) - ${pkgs.nix}/bin/nix-env -p /nix/var/nix/profiles/system --set ${output} + ${pkgs.nix}/bin/nix-env -p /nix/var/nix/profiles/system --set $output ${ if cfg.reboot then ''