zip: Enable cross-compilation

This commit is contained in:
Ben Gamari 2017-12-17 00:33:20 -05:00 committed by John Ericson
parent 6719bf5a74
commit a4179bf45f

View file

@ -12,6 +12,9 @@ stdenv.mkDerivation {
];
sha256 = "0sb3h3067pzf3a7mlxn1hikpcjrsvycjcnj9hl9b1c3ykcgvps7h";
};
patchPhase = ''
substituteInPlace unix/Makefile --replace 'CC = cc' ""
'';
hardeningDisable = [ "format" ];