mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 01:17:28 +03:00
antlr: explicitly use python2
Also, put python2 into nativeBuildInputs because Arch lists it in makedepends.
This commit is contained in:
parent
a6c7132abc
commit
f0702c62a6
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, jdk, python}:
|
{ stdenv, fetchurl, jdk, python2 }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "antlr-2.7.7";
|
name = "antlr-2.7.7";
|
||||||
@ -7,7 +7,8 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "1ffvcwdw73id0dk6pj2mlxjvbg0662qacx4ylayqcxgg381fnfl5";
|
sha256 = "1ffvcwdw73id0dk6pj2mlxjvbg0662qacx4ylayqcxgg381fnfl5";
|
||||||
};
|
};
|
||||||
patches = [ ./2.7.7-fixes.patch ];
|
patches = [ ./2.7.7-fixes.patch ];
|
||||||
buildInputs = [jdk python];
|
buildInputs = [ jdk ];
|
||||||
|
nativeBuildInputs = [ python2 ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Powerful parser generator";
|
description = "Powerful parser generator";
|
||||||
|
Loading…
Reference in New Issue
Block a user