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