From 8e56309dd5c7dfc3bf7d82b8b128a2acc2b0532c Mon Sep 17 00:00:00 2001 From: Luca Bruno <lethalman88@gmail.com> Date: Thu, 9 Jul 2015 11:48:39 +0200 Subject: [PATCH] botanUnstable: fix installation (ZHF) --- pkgs/development/libraries/botan/generic.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/libraries/botan/generic.nix b/pkgs/development/libraries/botan/generic.nix index c4a13b55fd8b..823e50e32272 100644 --- a/pkgs/development/libraries/botan/generic.nix +++ b/pkgs/development/libraries/botan/generic.nix @@ -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