treewide: stdenv.lib -> lib
This commit is contained in:
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
#
|
||||
# gfortran: error: unrecognized command line option '-stdlib=libc++'
|
||||
#
|
||||
stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace src/Makefile.in \
|
||||
--replace "F77LD = \$(F77)" "F77LD = \$(CXXLD)" \
|
||||
'';
|
||||
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs =
|
||||
[ apfel apfelgrid applgrid blas lhapdf lapack mela root5 qcdnum libtirpc ]
|
||||
# pdf2yaml requires fmemopen and open_memstream which are not readily available on Darwin
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin) libyaml
|
||||
++ lib.optional (!stdenv.isDarwin) libyaml
|
||||
;
|
||||
propagatedBuildInputs = [ lynx ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user