Merge pull request #97004 from kampka/highlight

This commit is contained in:
Artturi
2021-10-17 00:17:15 +03:00
committed by GitHub
+6 -1
View File
@@ -20,7 +20,12 @@ let
buildInputs = [ getopt lua boost ];
prePatch = lib.optionalString stdenv.cc.isClang ''
prePatch = ''
substituteInPlace src/makefile \
--replace "shell pkg-config" "shell $PKG_CONFIG"
substituteInPlace makefile \
--replace 'gzip' 'gzip -n'
'' + lib.optionalString stdenv.cc.isClang ''
substituteInPlace src/makefile \
--replace 'CXX=g++' 'CXX=clang++'
'';