about summary refs log tree commit diff
path: root/release.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-04T15·07+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-04T15·09+0200
commit7a60ff9a629f6d7c36ec710738a15e713acd6a34 (patch)
tree00ca59aa2c59908e4841a1ddbc4bfe6909983dd5 /release.nix
parent51485dcda2052d84048b5df5063d1af814a4aff8 (diff)
Speed up nix-shell
Diffstat (limited to 'release.nix')
-rw-r--r--release.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/release.nix b/release.nix
index e77f65ba040a..1f91e23b5d00 100644
--- a/release.nix
+++ b/release.nix
@@ -19,7 +19,7 @@ let
         name = "nix-tarball";
         version = builtins.readFile ./version;
         versionSuffix = if officialRelease then "" else "pre${toString nix.revCount}_${nix.shortRev}";
-        src = nix;
+        src = if lib.inNixShell then null else nix;
         inherit officialRelease;
 
         buildInputs =