summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgenii Lepikhin <e.lepihin@postgrespro.ru>2023-09-27 22:00:07 +0300
committerEvgenii Lepikhin <e.lepihin@postgrespro.ru>2023-09-27 22:00:07 +0300
commit6f42755a34c5aae9ba0707fb9736a084b860fe7c (patch)
tree1530909b04c555e1394678ee243a8b4472c3a0d5
parentfix: rust -> rust-next (diff)
downloadjohnlepikhin-guix-channel-6f42755a34c5aae9ba0707fb9736a084b860fe7c.tar.gz
fix: Patches search path
-rw-r--r--johnlepikhin/packages/rust.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/johnlepikhin/packages/rust.scm b/johnlepikhin/packages/rust.scm
index be45e33..7df1a03 100644
--- a/johnlepikhin/packages/rust.scm
+++ b/johnlepikhin/packages/rust.scm
@@ -744,7 +744,13 @@ safety and thread safety guarantees.")
;; crate. The fd-lock crate uses Outline assembly which expects a precompiled
;; static library. Enabling the "cc" feature tells the build.rs script to
;; compile the assembly files instead of searching for a precompiled library.
- (patches (search-patches "rust-1.70-fix-rustix-build.patch"))
+ (patches
+ (parameterize
+ ((%patch-path
+ (map (lambda (directory)
+ (string-append directory "/johnlepikhin/packages/patches"))
+ %load-path)))
+ (search-patches "rust-1.70-fix-rustix-build.patch")))
(patch-flags '("-p1")))))))
(define rust-1.71