Merge pull request #224934 from amjoseph-nixpkgs/pr/python/notmuch2/cross

python310Packages.notmuch2: fix cross compilation
This commit is contained in:
Adam Joseph 2023-07-20 22:42:44 +00:00 committed by GitHub
commit 447f02c1c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,5 @@
{ stdenv
, lib
, buildPythonPackage
, notmuch
, python
@ -13,7 +12,12 @@ buildPythonPackage {
sourceRoot = "notmuch-${notmuch.version}/bindings/python-cffi";
buildInputs = [ python notmuch cffi ];
nativeBuildInputs = [
cffi
];
buildInputs = [
python notmuch cffi
];
# since notmuch 0.35, this package expects _notmuch_config.py that is
# generated by notmuch's configure script