hactool: fix build on darwin

This commit is contained in:
Mario Rodas 2020-06-06 04:20:00 -05:00
parent 04d33ebf5c
commit 8718eca57d
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027

View File

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