about summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorFrederik Rietdijk <freddyrietdijk@fridh.nl>2018-08-03 20:44:03 +0200
committerGitHub <noreply@github.com>2018-08-03 20:44:03 +0200
commit57852282cf0ad4f3311c961d138304e48c95a2fa (patch)
tree33a36e86afad8c227f5adf05e83828469fb230b1 /pkgs/development/tools
parent2356a84bbd91921d93f2be626eb3c7fea2abac58 (diff)
parentf0702c62a6d433c788aeda59e3b30218c037a84d (diff)
downloadnixlib-57852282cf0ad4f3311c961d138304e48c95a2fa.tar
nixlib-57852282cf0ad4f3311c961d138304e48c95a2fa.tar.gz
nixlib-57852282cf0ad4f3311c961d138304e48c95a2fa.tar.bz2
nixlib-57852282cf0ad4f3311c961d138304e48c95a2fa.tar.lz
nixlib-57852282cf0ad4f3311c961d138304e48c95a2fa.tar.xz
nixlib-57852282cf0ad4f3311c961d138304e48c95a2fa.tar.zst
nixlib-57852282cf0ad4f3311c961d138304e48c95a2fa.zip
Merge pull request #44416 from dotlambda/antlr-python2
antlr: explicitly use python2
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/parsing/antlr/2.7.7.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/tools/parsing/antlr/2.7.7.nix b/pkgs/development/tools/parsing/antlr/2.7.7.nix
index cafb076aa811..519540ef52ae 100644
--- a/pkgs/development/tools/parsing/antlr/2.7.7.nix
+++ b/pkgs/development/tools/parsing/antlr/2.7.7.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, jdk, python}:
+{ stdenv, fetchurl, jdk, python2 }:
 
 stdenv.mkDerivation {
   name = "antlr-2.7.7";
@@ -7,7 +7,8 @@ stdenv.mkDerivation {
     sha256 = "1ffvcwdw73id0dk6pj2mlxjvbg0662qacx4ylayqcxgg381fnfl5";
   };
   patches = [ ./2.7.7-fixes.patch ];
-  buildInputs = [jdk python];
+  buildInputs = [ jdk ];
+  nativeBuildInputs = [ python2 ];
 
   meta = with stdenv.lib; {
     description = "Powerful parser generator";