treewide: drop conditional makeFlag for darwin when specifiying cross-compiler

This commit is contained in:
Ben Siraphob
2021-02-16 18:51:23 +07:00
parent 223f25cf4a
commit 4b2c44c0a7
6 changed files with 7 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
mv config.mk.template config.mk
'';
makeFlags = lib.optionals stdenv.isDarwin [ "CC=${stdenv.cc.targetPrefix}cc" ];
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
installPhase = ''
install -D hactool $out/bin/hactool