about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 =