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:
Tobias Geerinckx-Rice 2021-12-22 04:57:12 +01:00
parent 0f9bc3a8ad
commit 1a6ca06827
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -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"