summary refs log tree commit diff
path: root/pkgs/build-support/release/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/release/default.nix')
-rw-r--r--pkgs/build-support/release/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/build-support/release/default.nix b/pkgs/build-support/release/default.nix
index f90c56fbc8e..e26c9d7e88b 100644
--- a/pkgs/build-support/release/default.nix
+++ b/pkgs/build-support/release/default.nix
@@ -4,8 +4,10 @@ with pkgs;
 
 rec {
 
-  makeSourceTarball = args: import ./make-source-tarball.nix
-    ({inherit stdenv autoconf automake libtool;} // args);
+  makeSourceTarball = args: import ./make-source-tarball.nix (
+    { inherit autoconf automake libtool;
+      stdenv = stdenvNew;
+    } // args);
 
   nixBuild = args: import ./nix-build.nix (
     { inherit stdenv;