summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2019-03-18 17:49:48 +0000
committerGitHub <noreply@github.com>2019-03-18 17:49:48 +0000
commitd9fc44e7212204885c68a87e038a52778ff0b121 (patch)
treebdcec150ffe31ffa49a8ca6e615bf66a03ee08a7 /pkgs/tools
parent7785df3b907f2a662a12bb800ee6ef5a19fb9a1b (diff)
parent3947d2e9661a6051a6cb3c7377b9681e86fc0d5c (diff)
downloadnixpkgs-d9fc44e7212204885c68a87e038a52778ff0b121.tar
nixpkgs-d9fc44e7212204885c68a87e038a52778ff0b121.tar.gz
nixpkgs-d9fc44e7212204885c68a87e038a52778ff0b121.tar.bz2
nixpkgs-d9fc44e7212204885c68a87e038a52778ff0b121.tar.lz
nixpkgs-d9fc44e7212204885c68a87e038a52778ff0b121.tar.xz
nixpkgs-d9fc44e7212204885c68a87e038a52778ff0b121.tar.zst
nixpkgs-d9fc44e7212204885c68a87e038a52778ff0b121.zip
Merge pull request #57821 from illegalprime/fix/highlight-cross
highlight: use $CXX instead of c++ to build
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/text/highlight/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/highlight/default.nix b/pkgs/tools/text/highlight/default.nix
index c2fe3fcd576..26e09dd7efa 100644
--- a/pkgs/tools/text/highlight/default.nix
+++ b/pkgs/tools/text/highlight/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
   '';
 
   preConfigure = ''
-    makeFlags="PREFIX=$out conf_dir=$out/etc/highlight/"
+    makeFlags="PREFIX=$out conf_dir=$out/etc/highlight/ CXX=$CXX AR=$AR"
   '';
 
   meta = with stdenv.lib; {