gnu: bcachefs/static: Use G-expressions.
* gnu/packages/file-systems.scm (bcachefs/static)[arguments]: Rewrite as G-expressions. [inputs]: Remove labels.master
parent
1a6ca06827
commit
b37ba3747a
|
@ -515,27 +515,25 @@ performance and other characteristics.")
|
||||||
(package
|
(package
|
||||||
(name "bcachefs-static")
|
(name "bcachefs-static")
|
||||||
(version (package-version bcachefs-tools))
|
(version (package-version bcachefs-tools))
|
||||||
(build-system trivial-build-system)
|
|
||||||
(source #f)
|
(source #f)
|
||||||
(inputs
|
(build-system trivial-build-system)
|
||||||
`(("bcachefs-tools" ,bcachefs-tools/static)))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:modules ((guix build utils))
|
(list #:modules '((guix build utils))
|
||||||
#:builder
|
#:builder
|
||||||
(begin
|
#~(begin
|
||||||
(use-modules (guix build utils)
|
(use-modules (guix build utils)
|
||||||
(ice-9 ftw)
|
(ice-9 ftw)
|
||||||
(srfi srfi-26))
|
(srfi srfi-26))
|
||||||
(let* ((bcachefs-tools (assoc-ref %build-inputs "bcachefs-tools"))
|
(mkdir-p #$output)
|
||||||
(out (assoc-ref %outputs "out")))
|
(with-directory-excursion #$output
|
||||||
(mkdir-p out)
|
(install-file (string-append #$(this-package-input
|
||||||
(with-directory-excursion out
|
"bcachefs-tools-static")
|
||||||
(install-file (string-append bcachefs-tools
|
"/sbin/bcachefs")
|
||||||
"/sbin/bcachefs")
|
"sbin")
|
||||||
"sbin")
|
(remove-store-references "sbin/bcachefs")
|
||||||
(remove-store-references "sbin/bcachefs")
|
(invoke "sbin/bcachefs" "version"))))) ; test suite
|
||||||
(invoke "sbin/bcachefs" "version") ; test suite
|
(inputs
|
||||||
#t)))))
|
(list bcachefs-tools/static))
|
||||||
(home-page (package-home-page bcachefs-tools))
|
(home-page (package-home-page bcachefs-tools))
|
||||||
(synopsis "Statically-linked bcachefs command from bcachefs-tools")
|
(synopsis "Statically-linked bcachefs command from bcachefs-tools")
|
||||||
(description "This package provides the statically-linked @command{bcachefs}
|
(description "This package provides the statically-linked @command{bcachefs}
|
||||||
|
|
Reference in New Issue