mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: bcachefs-tools/static: Use G-expressions.
* gnu/packages/file-systems.scm (bcachefs-tools/static)[arguments]: Rewrite as G-expressions.
This commit is contained in:
parent
0f9bc3a8ad
commit
1a6ca06827
1 changed files with 10 additions and 10 deletions
|
@ -484,16 +484,16 @@ (define-public bcachefs-tools
|
|||
(license license:gpl2+))))
|
||||
|
||||
(define-public bcachefs-tools/static
|
||||
(package
|
||||
(inherit bcachefs-tools)
|
||||
(name "bcachefs-tools-static")
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments bcachefs-tools)
|
||||
((#:make-flags make-flags)
|
||||
`(append ,make-flags
|
||||
(list "LDFLAGS=-static")))
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(package
|
||||
(inherit bcachefs-tools)
|
||||
(name "bcachefs-tools-static")
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments bcachefs-tools)
|
||||
((#:make-flags make-flags)
|
||||
#~(append #$make-flags
|
||||
(list "LDFLAGS=-static")))
|
||||
((#:phases phases)
|
||||
#~(modify-phases #$phases
|
||||
(add-after 'unpack 'skip-shared-library
|
||||
(lambda _
|
||||
(substitute* "Makefile"
|
||||
|
|
Loading…
Reference in a new issue