python310Packages.notmuch2: fix cross compilation

This commit is contained in:
Adam Joseph 2023-04-05 19:36:21 -07:00 committed by Artturin
parent c2f2239d92
commit cecd3613bb

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