mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-20 20:20:26 +03:00
python/notmuch: Fix runtime dep on libnotmuch.
The Python library wants to use ctypes.CDLL() on libnotmuch, so we need to patch in the correct store path of the shared object file. Thanks to mog from the #nixos IRC for stumbling over this. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
c545bc80f6
commit
7fb1c7efcf
@ -9178,6 +9178,11 @@ let
|
||||
|
||||
buildInputs = with self; [ python pkgs.notmuch ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e '/CDLL/s@"libnotmuch\.@"${pkgs.notmuch}/lib/libnotmuch.@' \
|
||||
notmuch/globals.py
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A Python wrapper around notmuch";
|
||||
homepage = http://notmuchmail.org/;
|
||||
|
Loading…
Reference in New Issue
Block a user