packages: Use a more general %patch-path definition so patched package builds works on cuirass
parent
21c2cdc993
commit
99b7997992
|
@ -1,10 +1,12 @@
|
|||
(define-module (radix packages)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (radix combinators)
|
||||
#:export (%patch-path))
|
||||
|
||||
(define %patch-path
|
||||
(map (partial (flip string-append)
|
||||
(and=> (search-path %load-path "radix/packages.scm")
|
||||
(compose list
|
||||
(partial (flip string-append)
|
||||
"/radix/packages/patches")
|
||||
(filter (partial string-suffix?
|
||||
"/guix/current/share/guile/site/3.0")
|
||||
%load-path)))
|
||||
dirname
|
||||
dirname)))
|
||||
|
|
Loading…
Reference in New Issue