mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: busybox: Parameterize reference to /gnu/store.
* gnu/packages/busybox.scm (busybox): Call %store-directory instead of referencing "/gnu/store" directly.
This commit is contained in:
@@ -53,8 +53,9 @@
|
||||
|
||||
;; There is no /usr/bin or /bin - replace it with /gnu/store
|
||||
(substitute* "testsuite/cpio.tests"
|
||||
(("/usr/bin") "/gnu/store")
|
||||
(("usr") "gnu"))
|
||||
(("/usr/bin") (%store-directory))
|
||||
(("usr") (car (filter (negate string-null?)
|
||||
(string-split (%store-directory) #\/)))))
|
||||
|
||||
(substitute* "testsuite/date/date-works-1"
|
||||
(("/bin/date") (which "date")))
|
||||
|
||||
Reference in New Issue
Block a user