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

python310Packages.notmuch2: fix cross compilation

authored by

Adam Joseph and committed by
GitHub
447f02c1 a29c4db5

+6 -2
+6 -2
pkgs/development/python-modules/notmuch2/default.nix
··· 1 { stdenv 2 , lib 3 - 4 , buildPythonPackage 5 , notmuch 6 , python ··· 13 14 sourceRoot = "notmuch-${notmuch.version}/bindings/python-cffi"; 15 16 - buildInputs = [ python notmuch cffi ]; 17 18 # since notmuch 0.35, this package expects _notmuch_config.py that is 19 # generated by notmuch's configure script
··· 1 { stdenv 2 , lib 3 , buildPythonPackage 4 , notmuch 5 , python ··· 12 13 sourceRoot = "notmuch-${notmuch.version}/bindings/python-cffi"; 14 15 + nativeBuildInputs = [ 16 + cffi 17 + ]; 18 + buildInputs = [ 19 + python notmuch cffi 20 + ]; 21 22 # since notmuch 0.35, this package expects _notmuch_config.py that is 23 # generated by notmuch's configure script