aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>2015-05-15 10:59:44 +0200
committerTaylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>2015-05-15 16:38:53 +0200
commitfefd841887affda863ba03ad8f933f423302ac8f (patch)
tree516341bf7871898bbf0fc0aaf84fb37e0d326e7d
parent35de1fbd909d0365ed20fe91e2815a35a74cdabe (diff)
downloadguix-fefd841887affda863ba03ad8f933f423302ac8f.tar
guix-fefd841887affda863ba03ad8f933f423302ac8f.tar.gz
gnu: busybox: Parameterize reference to /gnu/store.
* gnu/packages/busybox.scm (busybox): Call %store-directory instead of referencing "/gnu/store" directly.
-rw-r--r--gnu/packages/busybox.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/busybox.scm b/gnu/packages/busybox.scm
index d200cd7ad5..13630b39dc 100644
--- a/gnu/packages/busybox.scm
+++ b/gnu/packages/busybox.scm
@@ -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")))