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+)))) (license license:gpl2+))))
(define-public bcachefs-tools/static (define-public bcachefs-tools/static
(package (package
(inherit bcachefs-tools) (inherit bcachefs-tools)
(name "bcachefs-tools-static") (name "bcachefs-tools-static")
(arguments (arguments
(substitute-keyword-arguments (package-arguments bcachefs-tools) (substitute-keyword-arguments (package-arguments bcachefs-tools)
((#:make-flags make-flags) ((#:make-flags make-flags)
`(append ,make-flags #~(append #$make-flags
(list "LDFLAGS=-static"))) (list "LDFLAGS=-static")))
((#:phases phases) ((#:phases phases)
`(modify-phases ,phases #~(modify-phases #$phases
(add-after 'unpack 'skip-shared-library (add-after 'unpack 'skip-shared-library
(lambda _ (lambda _
(substitute* "Makefile" (substitute* "Makefile"