From 1f586343217b0291bf583cd3200d11a1f61bcd92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Tue, 3 Sep 2024 08:28:15 +0200 Subject: [PATCH] use full path for nix-env --- config/nix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/nix.nix b/config/nix.nix index 47e03fab..e976064f 100644 --- a/config/nix.nix +++ b/config/nix.nix @@ -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"