From 7950c700e89662ea6ba2d09f6b78ac20b6fde5ab Mon Sep 17 00:00:00 2001 From: Michael Adler Date: Wed, 25 Oct 2023 22:53:42 +0200 Subject: [PATCH] python3Packages.notmuch2: add missing runtime dependency cffi With this change it's possible to use notmuch2 after entering a nix-shell, e.g. `nix-shell -p python3Packages.notmuch2`. Previously, this would fail complaining about the missing cffi library. --- pkgs/development/python-modules/notmuch2/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/notmuch2/default.nix b/pkgs/development/python-modules/notmuch2/default.nix index b8ed00ca2579..9bb930d6cfa4 100644 --- a/pkgs/development/python-modules/notmuch2/default.nix +++ b/pkgs/development/python-modules/notmuch2/default.nix @@ -16,9 +16,11 @@ buildPythonPackage { cffi ]; buildInputs = [ - python notmuch cffi + python notmuch ]; + propagatedBuildInputs = [ cffi ]; + # since notmuch 0.35, this package expects _notmuch_config.py that is # generated by notmuch's configure script. We write one which references our # built libraries.