use the root output variable and not other ones
This commit is contained in:
parent
a5f5f553c0
commit
e02b3526c5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue