summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm13
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 96c65b04e80..508eff5f19a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -39877,7 +39877,18 @@ parsing (browser/HTTP) user agent strings.")
(sha256
(base32 "0lfzgijza3p4wbrhlf8pzj89j7caj8x6aij78d4izppvq4kfjqs6"))))
(build-system pyproject-build-system)
- (arguments (list #:tests? #f)) ;no tests
+ (arguments
+ (list #:tests? #f ;no tests
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'hardcode-libfuse
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "userspacefs/fusepy.py"
+ (("^_libfuse_path.*")
+ (string-append "_libfuse_path = '"
+ (search-input-file inputs "lib/libfuse.so")
+ "'\n"))))))))
+ (inputs (list fuse-2))
(native-inputs (list python-setuptools))
(propagated-inputs (list python-aiohttp python-typing-extensions))
(home-page "https://thelig.ht/code/userspacefs/readme.html")