Skip to content

Commit

Permalink
kdiff3: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
7c6f434c committed Mar 19, 2017
1 parent e16c5a8 commit 8565047
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/tools/text/kdiff3/default.nix
Expand Up @@ -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 ];

Expand Down

0 comments on commit 8565047

Please sign in to comment.