From b972908a3b28dc5038f716bf46075221d0845045 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Wed, 29 Apr 2020 11:04:56 -0700 Subject: [PATCH] Don't write "result" files with user env in $PWD --- modules/auto-upgrade.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auto-upgrade.nix b/modules/auto-upgrade.nix index 216c4ba..cc98ad0 100644 --- a/modules/auto-upgrade.nix +++ b/modules/auto-upgrade.nix @@ -34,7 +34,7 @@ let # Build in_tmpdir ${config.system.build.nixos-rebuild}/bin/nixos-rebuild build - as_user nix-build '' -A ${ + as_user nix-build --no-out-link '' -A ${ escapeShellArg cfg.userEnvironment.package } -- 2.44.1