python3.pkgs.llfuse: fix cross

This commit is contained in:
Alyssa Ross 2021-11-12 12:36:27 +00:00
parent 860795fd7e
commit 5ba0f48841
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -31,8 +31,13 @@ buildPythonPackage rec {
propagatedBuildInputs = [ contextlib2 ];
preConfigure = ''
substituteInPlace setup.py \
--replace "'pkg-config'" "'${stdenv.cc.targetPrefix}pkg-config'"
'';
preBuild = ''
${python.interpreter} setup.py build_cython
${python.pythonForBuild.interpreter} setup.py build_cython
'';
# On Darwin, the test requires macFUSE to be installed outside of Nix.