summaryrefslogtreecommitdiff
path: root/gnu/packages/file-systems.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/file-systems.scm')
-rw-r--r--gnu/packages/file-systems.scm12
1 files changed, 4 insertions, 8 deletions
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index c40c30f5b35..c1342706fa7 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -723,14 +723,10 @@ performance and other characteristics.")
#:builder
#~(begin
(use-modules (guix build utils))
- (mkdir-p #$output)
- (with-directory-excursion #$output
- (install-file (string-append #$(this-package-input
- "bcachefs-tools-static")
- "/sbin/bcachefs")
- "sbin")
- (remove-store-references "sbin/bcachefs")
- (invoke "sbin/bcachefs" "version"))))) ; test suite
+ (let ((target (string-append #$output "/sbin/bcachefs")))
+ (install-file (search-input-file %build-inputs "sbin/bcachefs")
+ (dirname target))
+ (remove-store-references target)))))
(inputs
(list bcachefs-tools/static))
(home-page (package-home-page bcachefs-tools/static))