nix: fix libfuse not being loaded in mfusepy

This commit is contained in:
ihaveahax 2024-12-19 01:07:33 -06:00
parent da4c24652d
commit 7386365cae
No known key found for this signature in database

View File

@ -26,7 +26,7 @@ buildPythonPackage rec {
# be able to find libfuse in /usr/local/lib.
patchPhase = lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
substituteInPlace mfusepy.py \
--replace "find_library('fuse')" "'${pkgs.fuse}/lib/libfuse.so'" \
--replace "find_library('fuse')" "'${pkgs.fuse.out}/lib/libfuse.so'" \
'';
meta = with lib; {