about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/editors/viw/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/viw/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/editors/viw/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/applications/editors/viw/default.nix b/nixpkgs/pkgs/applications/editors/viw/default.nix
index 3aad18ef11cb..0ba381901b98 100644
--- a/nixpkgs/pkgs/applications/editors/viw/default.nix
+++ b/nixpkgs/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 = ''