From 1a6ca068275ffc69b5ba25ff7f1f829a01057681 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 22 Dec 2021 04:57:12 +0100 Subject: gnu: bcachefs-tools/static: Use G-expressions. * gnu/packages/file-systems.scm (bcachefs-tools/static)[arguments]: Rewrite as G-expressions. --- gnu/packages/file-systems.scm | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm index a55259acbb..7628f2c804 100644 --- a/gnu/packages/file-systems.scm +++ b/gnu/packages/file-systems.scm @@ -484,16 +484,16 @@ performance and other characteristics.") (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" -- cgit 1.4.1