diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-08-03 18:52:37 +0200 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-08-03 20:01:51 +0200 |
commit | f0702c62a6d433c788aeda59e3b30218c037a84d (patch) | |
tree | 8c89954f57b64d76f9af894f2cc869c4aa5e84dd /pkgs/development/tools/parsing | |
parent | a6c7132abc972b91826db1cf6f820d6b1b454ba0 (diff) |
antlr: explicitly use python2
Also, put python2 into nativeBuildInputs because Arch lists it in makedepends.
Diffstat (limited to 'pkgs/development/tools/parsing')
-rw-r--r-- | pkgs/development/tools/parsing/antlr/2.7.7.nix | 5 |
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 cafb076aa8116..519540ef52aef 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"; |