hoppet: fix sandboxed build

This commit is contained in:
Robin Gloster 2019-01-11 04:10:05 +01:00
parent 6ac4267ef3
commit 8f92eff731
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, gfortran }: { stdenv, fetchurl, gfortran, perl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "hoppet-${version}"; name = "hoppet-${version}";
@ -10,9 +10,14 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ gfortran ]; buildInputs = [ gfortran ];
nativeBuildInputs = [ perl ];
enableParallelBuilding = true; enableParallelBuilding = true;
preConfigure = ''
patchShebangs .
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Higher Order Perturbative Parton Evolution Toolkit"; description = "Higher Order Perturbative Parton Evolution Toolkit";
license = licenses.gpl2; license = licenses.gpl2;