Skip to content

Commit

Permalink
daemon: Fix compilation on darwin (#105640)
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Bauer <mjbauer95@gmail.com>
  • Loading branch information
SuperSandro2000 and matthewbauer committed Dec 20, 2020
1 parent 42f4fa5 commit 0e811b6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/tools/system/daemon/default.nix
Expand Up @@ -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; {
Expand Down

0 comments on commit 0e811b6

Please sign in to comment.