3
0
Fork 0
forked from mirrors/nixpkgs

lhapdf,rivet: s/python/python2/

This commit is contained in:
Dmitry Kalinkin 2016-10-20 21:01:55 -04:00
parent 1feb89897e
commit 59a13d404f
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, boost, python }:
{ stdenv, fetchurl, boost, python2 }:
stdenv.mkDerivation rec {
name = "lhapdf-${version}";
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1sgbaxv8clcfy4d96fkwfyqcd4b29i0hwv32ry4vy69j5qiki0f2";
};
buildInputs = [ boost python ];
buildInputs = [ boost python2 ];
patches = [ ./distutils-c++.patch ];

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fastjet, ghostscript, gsl, hepmc, imagemagick, less, python, texlive, yoda, which, makeWrapper }:
{ stdenv, fetchurl, fastjet, ghostscript, gsl, hepmc, imagemagick, less, python2, texlive, yoda, which, makeWrapper }:
stdenv.mkDerivation rec {
name = "rivet-${version}";
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
xcolor
xkeyval
;};
buildInputs = [ ghostscript hepmc imagemagick python latex makeWrapper ];
buildInputs = [ ghostscript hepmc imagemagick python2 latex makeWrapper ];
propagatedBuildInputs = [ fastjet gsl yoda ];
preInstall = ''