~ruther/guix-local

fefd841887affda863ba03ad8f933f423302ac8f — Taylan Ulrich Bayırlı/Kammer 11 years ago 35de1fb
gnu: busybox: Parameterize reference to /gnu/store.

* gnu/packages/busybox.scm (busybox): Call %store-directory instead of
  referencing "/gnu/store" directly.
1 files changed, 3 insertions(+), 2 deletions(-)

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