botanUnstable: fix installation (ZHF)

This commit is contained in:
Luca Bruno 2015-07-09 11:48:39 +02:00
parent 33da6ac765
commit 8e56309dd5

View file

@ -26,6 +26,12 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
preInstall = ''
if [ -d src/scripts ]; then
patchShebangs src/scripts
fi
'';
postInstall = ''
cd "$out"/lib/pkgconfig
ln -s botan-*.pc botan.pc || true