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
|
@ -53,8 +53,9 @@
|
||||||
|
|
||||||
;; There is no /usr/bin or /bin - replace it with /gnu/store
|
;; There is no /usr/bin or /bin - replace it with /gnu/store
|
||||||
(substitute* "testsuite/cpio.tests"
|
(substitute* "testsuite/cpio.tests"
|
||||||
(("/usr/bin") "/gnu/store")
|
(("/usr/bin") (%store-directory))
|
||||||
(("usr") "gnu"))
|
(("usr") (car (filter (negate string-null?)
|
||||||
|
(string-split (%store-directory) #\/)))))
|
||||||
|
|
||||||
(substitute* "testsuite/date/date-works-1"
|
(substitute* "testsuite/date/date-works-1"
|
||||||
(("/bin/date") (which "date")))
|
(("/bin/date") (which "date")))
|
||||||
|
|
Loading…
Reference in New Issue