Browse Source

kdiff3: fix build

nixos-19.03
Michael Raskin 5 years ago
parent
commit
8565047bdd
  1. 6
      pkgs/tools/text/kdiff3/default.nix

6
pkgs/tools/text/kdiff3/default.nix

@ -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 ];

Loading…
Cancel
Save