From: Scott Worley Date: Wed, 29 Apr 2020 18:04:56 +0000 (-0700) Subject: Don't write "result" files with user env in $PWD X-Git-Url: http://git.scottworley.com/auto-upgrade-with-pinch/commitdiff_plain/b972908a3b28dc5038f716bf46075221d0845045?ds=sidebyside;hp=eb0fa99c7cfcb863cfcc3c1ba15aa0fbc2fcb120 Don't write "result" files with user env in $PWD --- 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 }