about summary refs log tree commit diff
path: root/pkgs/applications/editors/viw
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-02-16 18:48:46 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-02-20 01:01:46 +0700
commit223f25cf4a2ca9e2b35801eb0c43540151df89b9 (patch)
treea43b8bfb6b924ef794f2cba0867df97f2ce1b70c /pkgs/applications/editors/viw
parentad4db3f4d8ae54482c63c31c14921cb73953548d (diff)
downloadnixlib-223f25cf4a2ca9e2b35801eb0c43540151df89b9.tar
nixlib-223f25cf4a2ca9e2b35801eb0c43540151df89b9.tar.gz
nixlib-223f25cf4a2ca9e2b35801eb0c43540151df89b9.tar.bz2
nixlib-223f25cf4a2ca9e2b35801eb0c43540151df89b9.tar.lz
nixlib-223f25cf4a2ca9e2b35801eb0c43540151df89b9.tar.xz
nixlib-223f25cf4a2ca9e2b35801eb0c43540151df89b9.tar.zst
nixlib-223f25cf4a2ca9e2b35801eb0c43540151df89b9.zip
treewide: add targetPrefix to hardcoded references to CC=cc
Diffstat (limited to 'pkgs/applications/editors/viw')
-rw-r--r--pkgs/applications/editors/viw/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/viw/default.nix b/pkgs/applications/editors/viw/default.nix
index 3aad18ef11cb..0ba381901b98 100644
--- a/pkgs/applications/editors/viw/default.nix
+++ b/pkgs/applications/editors/viw/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ ncurses ];
 
-  makeFlags = [ "CC=cc" ];
+  makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
   checkFlags = [ "test-command" "test-buffer" "test-state" ];
 
   installPhase = ''