git.iko.soy/typeable/nixpkgs
on master help sign in
hoppet: fix sandboxed build
commit8f92eff7311864d5bd909e6a07f7e3be47beaeb2 authorRobin Gloster <mail@glob.in> dateFri 11 Jan 2019, 04:10 (8 years ago) parent6ac4267
1 file changed+6−1
pkgs/development/libraries/physics/hoppet/default.nix+6−1
pkgs/development/libraries/physics/hoppet/default.nix+6−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gfortran }:
1+{ stdenv, fetchurl, gfortran, perl }:
22
33stdenv.mkDerivation rec {
44 name = "hoppet-${version}";
@@ -10,9 +10,14 @@ stdenv.mkDerivation rec {
1010 };
1111
1212 buildInputs = [ gfortran ];
13+ nativeBuildInputs = [ perl ];
1314
1415 enableParallelBuilding = true;
1516
17+ preConfigure = ''
18+ patchShebangs .
19+ '';
20+
1621 meta = with stdenv.lib; {
1722 description = "Higher Order Perturbative Parton Evolution Toolkit";
1823 license = licenses.gpl2;