monotone: fix key encryption

(cherry picked from commit 5dd7c7a079e0b0c9799c5275714de5699fb0ffc3)
This commit is contained in:
Michael Raskin
2021-08-17 18:02:17 +00:00
committed by github-actions[bot]
parent 8c3b502c7c
commit f037cc9ff4
2 changed files with 19 additions and 1 deletions
@@ -30,7 +30,10 @@ stdenv.mkDerivation rec {
hash = "sha256:1hfy8vaap3184cd7h3qhz0da7c992idkc6q2nz9frhma45c5vgmd";
};
patches = [ ./monotone-1.1-Adapt-to-changes-in-pcre-8.42.patch ];
patches = [
./monotone-1.1-Adapt-to-changes-in-pcre-8.42.patch
./monotone-1.1-adapt-to-botan2.patch
];
postPatch = ''
sed -e 's@/usr/bin/less@${less}/bin/less@' -i src/unix/terminal.cc