3
0
Fork 0
forked from mirrors/nixpkgs

heimdal: use python2

because of print statement
This commit is contained in:
Frederik Rietdijk 2016-10-18 16:16:10 +02:00
parent 42f0271d32
commit db0df92bbf

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, python, perl, yacc, flex { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, python2, perl, yacc, flex
, texinfo, perlPackages , texinfo, perlPackages
, openldap, libcap_ng, sqlite, openssl, db, libedit, pam , openldap, libcap_ng, sqlite, openssl, db, libedit, pam
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
sha256 = "1r60i4v6y5lpll0l2qpn0ycp6q6f1xjg7k1csi547zls8k96yk9s"; sha256 = "1r60i4v6y5lpll0l2qpn0ycp6q6f1xjg7k1csi547zls8k96yk9s";
}; };
nativeBuildInputs = [ autoreconfHook pkgconfig python perl yacc flex ] nativeBuildInputs = [ autoreconfHook pkgconfig python2 perl yacc flex ]
++ (with perlPackages; [ JSON ]) ++ (with perlPackages; [ JSON ])
++ optional (!libOnly) texinfo; ++ optional (!libOnly) texinfo;
buildInputs = optionals (!stdenv.isFreeBSD) [ libcap_ng db ] buildInputs = optionals (!stdenv.isFreeBSD) [ libcap_ng db ]