diff options
author | Bernard Fortz <bernard.fortz@gmail.com> | 2019-05-22 08:00:56 +0200 |
---|---|---|
committer | Bernard Fortz <bernard.fortz@gmail.com> | 2019-05-22 08:00:56 +0200 |
commit | ffbea964ad8eb9899976dbc449893935cd2020b3 (patch) | |
tree | 097c4049a7cf7960abc4e5a2be0e8fc2c6d6acf9 /pkgs/tools/misc/lbdb | |
parent | 5711eb56926181c70c54a643fd2557512fb42def (diff) |
lbdb: fix build
Diffstat (limited to 'pkgs/tools/misc/lbdb')
-rw-r--r-- | pkgs/tools/misc/lbdb/default.nix | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/pkgs/tools/misc/lbdb/default.nix b/pkgs/tools/misc/lbdb/default.nix index a00da33d8c91e..e48d6354eb53b 100644 --- a/pkgs/tools/misc/lbdb/default.nix +++ b/pkgs/tools/misc/lbdb/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, perl, perlPackages, finger_bsd, makeWrapper +{ stdenv, fetchurl, fetchpatch, perl, perlPackages, finger_bsd, makeWrapper , abook ? null , gnupg ? null , goobook ? null @@ -32,7 +32,14 @@ stdenv.mkDerivation { ++ optional (khard != null) "--with-khard" ++ optional (mu != null) "--with-mu"; - patches = [ ./add-methods-to-rc.patch ]; + patches = [ ./add-methods-to-rc.patch + # fix undefined exec_prefix. Remove with the next release + (fetchpatch { + url = "https://github.com/RolandRosenfeld/lbdb/commit/60b7bae255011f59212d96adfbded459d6a27129.patch"; + sha256 = "129zg086glmlalrg395jq8ljcp787dl3rxjf9v7apsd8mqfdkl2v"; + excludes = [ "debian/changelog" ]; + }) + ]; postFixup = "wrapProgram $out/lib/mutt_ldap_query --prefix PERL5LIB : " + "${AuthenSASL}/${perl.libPrefix}" + ":${ConvertASN1}/${perl.libPrefix}" @@ -43,6 +50,6 @@ stdenv.mkDerivation { license = licenses.gpl2; platforms = platforms.all; description = "The Little Brother's Database"; - maintainers = [ maintainers.kaiha ]; + maintainers = [ maintainers.kaiha maintainers.bfortz ]; }; } |