mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05: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:
parent
35de1fbd90
commit
fefd841887
1 changed files with 3 additions and 2 deletions
|
@ -53,8 +53,9 @@ (define-public busybox
|
|||
|
||||
;; 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")))
|
||||
|
|
Loading…
Reference in a new issue