treewide: Fix more lib.optional misuses

This commit is contained in:
Tuomas Tynkkynen
2016-10-02 00:23:05 +03:00
parent 82c0aa7d85
commit f5dd3a703d
6 changed files with 19 additions and 31 deletions

View File

@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
patches = [ ./blitz-gcc47.patch ./blitz-testsuite-stencil-et.patch ];
buildInputs = [ pkgconfig gfortran texinfo ]
++ optional (boost != null) [ boost.out ];
++ optional (boost != null) boost;
configureFlags =
[ "--enable-shared"