file: *Flags are lists

This commit is contained in:
Robin Gloster
2019-10-26 15:35:48 +02:00
committed by Jan Tojnar
parent 9da5420213
commit ecff7d3a56

View File

@@ -26,8 +26,7 @@ stdenv.mkDerivation rec {
doCheck = true;
makeFlags = if stdenv.hostPlatform.isWindows then "FILE_COMPILE=file"
else null;
makeFlags = stdenv.lib.optional stdenv.hostPlatform.isWindows "FILE_COMPILE=file";
meta = with stdenv.lib; {
homepage = https://darwinsys.com/file;