about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--release.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/release.nix b/release.nix
index 24774662cc1b..4be8fdf8c55b 100644
--- a/release.nix
+++ b/release.nix
@@ -24,8 +24,8 @@ let
 
         buildInputs =
           [ curl bison flex perl libxml2 libxslt bzip2
-            tetex dblatex nukeReferences pkgconfig sqlite git
-          ];
+            /* tetex dblatex */ nukeReferences pkgconfig sqlite
+          ] ++ lib.optional (!lib.inNixShell) git;
 
         configureFlags = ''
           --with-docbook-rng=${docbook5}/xml/rng/docbook