about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2014-06-10 10:48:38 +0400
committerMichael Raskin <7c6f434c@mail.ru>2014-06-10 10:48:38 +0400
commitc6c152daada5c9c1dc1c7c5bce724009a9075b2c (patch)
tree0d351466f62bd0bb824b0a3d2a32d7c1636a2c8d
parent99d59d8094515f5bd0733e019ac5fae9902aa924 (diff)
downloadnixlib-c6c152daada5c9c1dc1c7c5bce724009a9075b2c.tar
nixlib-c6c152daada5c9c1dc1c7c5bce724009a9075b2c.tar.gz
nixlib-c6c152daada5c9c1dc1c7c5bce724009a9075b2c.tar.bz2
nixlib-c6c152daada5c9c1dc1c7c5bce724009a9075b2c.tar.lz
nixlib-c6c152daada5c9c1dc1c7c5bce724009a9075b2c.tar.xz
nixlib-c6c152daada5c9c1dc1c7c5bce724009a9075b2c.tar.zst
nixlib-c6c152daada5c9c1dc1c7c5bce724009a9075b2c.zip
Create botan.pc just in case
-rw-r--r--pkgs/development/libraries/botan/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/libraries/botan/default.nix b/pkgs/development/libraries/botan/default.nix
index 9f4d766f719f..64dd821c43f4 100644
--- a/pkgs/development/libraries/botan/default.nix
+++ b/pkgs/development/libraries/botan/default.nix
@@ -32,8 +32,13 @@ rec {
   inherit buildInputs;
 
   /* doConfigure should be removed if not needed */
-  phaseNames = ["doConfigure" "doMakeInstall"];
+  phaseNames = ["doConfigure" "doMakeInstall" "fixPkgConfig"];
   configureCommand = "python configure.py --with-gnump --with-bzip2 --with-zlib --with-openssl --with-tr1-implementation=boost";
+
+  fixPkgConfig = a.fullDepEntry ''
+    cd "$out"/lib/pkgconfig
+    ln -s botan-*.pc botan.pc || true
+  '' ["minInit" "doMakeInstall"];
       
   meta = {
     description = "Cryptographic algorithms library";