]> git.scottworley.com Git - auto-upgrade-with-pinch/blobdiff - modules/auto-upgrade.nix
Don't write "result" files with user env in $PWD
[auto-upgrade-with-pinch] / modules / auto-upgrade.nix
index 216c4baf8fa624e4d2ed08680c21edfa0ccd27d4..cc98ad07d36103481ffcfd8b1861618a68e51b08 100644 (file)
@@ -34,7 +34,7 @@ let
 
         # Build
         in_tmpdir ${config.system.build.nixos-rebuild}/bin/nixos-rebuild build
-        as_user nix-build '<nixpkgs>' -A ${
+        as_user nix-build --no-out-link '<nixpkgs>' -A ${
           escapeShellArg cfg.userEnvironment.package
         }