about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-01-27T15·13+0100
committerEelco Dolstra <edolstra@gmail.com>2017-01-27T15·13+0100
commit583ff4ec46fe1fa758f0fa4df1d8b37d9192736c (patch)
treefea5475c2d474c584c3d5191d9bfd82167e17563
parentcb1951e746cb04f331b126c746758c96bb9fdc81 (diff)
release.nix: Drop nix-shell references
-rw-r--r--release.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/release.nix b/release.nix
index d825dd5837..ace0f9cc89 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}