Browse Source

gnu: busybox: Parameterize reference to /gnu/store.

* gnu/packages/busybox.scm (busybox): Call %store-directory instead of
  referencing "/gnu/store" directly.
gn-latest-20200428
Taylan Ulrich Bayırlı/Kammer 6 years ago
parent
commit
fefd841887
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      gnu/packages/busybox.scm

+ 3
- 2
gnu/packages/busybox.scm 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")))


Loading…
Cancel
Save