From 7c5f064277f5841a3c8d50e621a243d000055d20 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 5 Nov 2020 21:45:09 +0100 Subject: gnu: Add bcachefs-tools-static. * gnu/packages/file-systems.scm (bcachefs-tools/static): New public variable. --- gnu/packages/file-systems.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm index bc147bf3c6..8c382a0aec 100644 --- a/gnu/packages/file-systems.scm +++ b/gnu/packages/file-systems.scm @@ -386,6 +386,24 @@ caching system, and lets you assign different roles to each device based on its 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"))))) + (inputs + `(("eudev:static" ,eudev "static") + ("libscrypt:static" ,libscrypt "static") + ("lz4:static" ,lz4 "static") + ("util-linux:static" ,util-linux "static") ; lib{blkid,uuid} + ("zlib" ,zlib "static") + ("zstd:static" ,zstd "static") + ,@(package-inputs bcachefs-tools))))) + (define-public exfatprogs (package (name "exfatprogs") -- cgit v1.2.3