castty: fix darwin build
commit854207d16c3c228ff42096e12af4e33233a0590a
authorStéphan Kochen <git@stephank.nl>
dateWed 12 May 2021, 22:33 (6 years ago)
parent1299c42
pkgs/tools/misc/castty/default.nix+4−1
@@ -13,7 +13,10 @@ stdenv.mkDerivation {
1313
1414 buildInputs = [ libsoundio lame ];
1515
16− makeFlags = [ "PREFIX=$(out)" ];
16+ makeFlags = [
17+ "CC=${stdenv.cc.targetPrefix}cc"
18+ "PREFIX=$(out)"
19+ ];
1720
1821 meta = with lib; {
1922 description = "CLI tool to record audio-enabled screencasts of your terminal, for the web";