zip: *Flags are lists

This commit is contained in:
Robin Gloster 2019-10-26 17:39:27 +02:00 committed by Jan Tojnar
parent e49f0d4985
commit 76b774e89a
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -19,8 +19,11 @@ stdenv.mkDerivation {
hardeningDisable = [ "format" ];
makefile = "unix/Makefile";
buildFlags = if stdenv.isCygwin then "cygwin" else "generic";
installFlags = "prefix=$(out) INSTALL=cp";
buildFlags = if stdenv.isCygwin then [ "cygwin" ] else [ "generic" ];
installFlags = [
"prefix=${placeholder ''out''}"
"INSTALL=cp"
];
patches = if (enableNLS && !stdenv.isCygwin) then [ ./natspec-gentoo.patch.bz2 ] else [];