summaryrefslogtreecommitdiff
path: root/pkgs/tools/misc/castty/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/castty/default.nix')
-rw-r--r--pkgs/tools/misc/castty/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/tools/misc/castty/default.nix b/pkgs/tools/misc/castty/default.nix
index ddda737c8b5b..075c6d739b3f 100644
--- a/pkgs/tools/misc/castty/default.nix
+++ b/pkgs/tools/misc/castty/default.nix
@@ -13,7 +13,10 @@ stdenv.mkDerivation {
buildInputs = [ libsoundio lame ];
- makeFlags = [ "PREFIX=$(out)" ];
+ makeFlags = [
+ "CC=${stdenv.cc.targetPrefix}cc"
+ "PREFIX=$(out)"
+ ];
meta = with lib; {
description = "CLI tool to record audio-enabled screencasts of your terminal, for the web";