mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: bcachefs-static: Don't rely on input labels.
* gnu/packages/file-systems.scm (bcachefs/static)[arguments]: Substitute SEARCH-INPUT-FILE for THIS-PACKAGE-INPUT. Change-Id: I5ee816c2380b291a3f968139d33a40755c715ad3
This commit is contained in:
parent
a1aed6f159
commit
d68dfe6c96
1 changed files with 4 additions and 8 deletions
|
@ -723,14 +723,10 @@ (define-public bcachefs/static
|
|||
#: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))
|
||||
|
|
Loading…
Reference in a new issue