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 ''