1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

kdiff3: fix build

This commit is contained in:
Michael Raskin 2017-03-19 12:16:21 +01:00
parent e16c5a8254
commit 8565047bdd

View file

@ -16,7 +16,11 @@ let
inherit rev;
};
preConfigure = "cd kdiff3";
setSourceRoot = ''sourceRoot="$(echo */kdiff3/)"'';
postPatch = ''
sed -re "s/(p\\[[^]]+] *== *)('([^']|\\\\')+')/\\1QChar(\\2)/g" -i src/diff.cpp
'';
nativeBuildInputs = [ extra-cmake-modules kdoctools ];