Merge pull request #122767 from stephank/fix-castty-darwin
castty: fix darwin build
commit67515534045a025ad035644d23f82fade3602571
authorRobert Scott <code@humanleg.org.uk>
dateWed 12 May 2021, 21:48 (6 years ago)
parent1299c42854207d
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";