1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-17 17:42:45 +00:00

daemon: Fix compilation on darwin (#105640)

Co-authored-by: Matthew Bauer <mjbauer95@gmail.com>
This commit is contained in:
Sandro 2020-12-20 17:49:21 +01:00 committed by GitHub
parent 42f4fa575f
commit 0e811b6742
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,11 @@ stdenv.mkDerivation rec {
sha256 = "0b17zzl7bqnkn7a4pr3l6fxqfmxfld7izphrab5nvhc4wzng4spn";
};
makeFlags = [ "PREFIX=$(out)" ];
makeFlags = [
"PREFIX=$(out)"
"CC=${stdenv.cc.targetPrefix}cc"
];
buildInputs = [ perl ];
meta = with stdenv.lib; {