use full path for nix-env

This commit is contained in:
Charlotte 🦝 Delenk 2024-09-03 08:28:15 +02:00
parent 2358b3089a
commit 1f58634321

View file

@ -173,7 +173,7 @@
drvname=$(echo $doc | ${pkgs.jq}/bin/jq -r '.drvpath')
output=$(${pkgs.nix}/bin/nix-store -r $drvname)
nix-env -p /nix/var/nix/profiles/system --set $output
${pkgs.nix}/bin/nix-env -p /nix/var/nix/profiles/system --set $output
${
if config.networking.hostName != "nixos-8gb-fsn1-1"