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:
Taylan Ulrich Bayırlı/Kammer 2015-05-15 10:59:44 +02:00
parent 35de1fbd90
commit fefd841887
1 changed files with 3 additions and 2 deletions

View File

@ -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")))