From 59a13d404f5557f451d9be30f242bd9bd62384ef Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Thu, 20 Oct 2016 21:01:55 -0400 Subject: [PATCH] lhapdf,rivet: s/python/python2/ --- pkgs/development/libraries/physics/lhapdf/default.nix | 4 ++-- pkgs/development/libraries/physics/rivet/default.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/physics/lhapdf/default.nix b/pkgs/development/libraries/physics/lhapdf/default.nix index ce58f46cbbcc..80f818459f53 100644 --- a/pkgs/development/libraries/physics/lhapdf/default.nix +++ b/pkgs/development/libraries/physics/lhapdf/default.nix @@ -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 ]; diff --git a/pkgs/development/libraries/physics/rivet/default.nix b/pkgs/development/libraries/physics/rivet/default.nix index bffc0a703bbf..7ea86732e897 100644 --- a/pkgs/development/libraries/physics/rivet/default.nix +++ b/pkgs/development/libraries/physics/rivet/default.nix @@ -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 = ''