about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--release.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/release.nix b/release.nix
index d825dd583768..ace0f9cc89a2 100644
--- a/release.nix
+++ b/release.nix
@@ -20,7 +20,7 @@ let
         name = "nix-tarball";
         version = builtins.readFile ./version;
         versionSuffix = if officialRelease then "" else "pre${toString nix.revCount}_${nix.shortRev}";
-        src = if lib.inNixShell then null else nix;
+        src = nix;
         inherit officialRelease;
 
         buildInputs =
@@ -28,7 +28,8 @@ let
             pkgconfig sqlite libsodium boehmgc
             docbook5 docbook5_xsl
             autoconf-archive
-          ] ++ lib.optional (!lib.inNixShell) git;
+            git
+          ];
 
         configureFlags = ''
           --with-dbi=${perlPackages.DBI}/${perl.libPrefix}