gnu: Add bcachefs-tools-static.

* gnu/packages/file-systems.scm (bcachefs-tools/static): New public
variable.
This commit is contained in:
Tobias Geerinckx-Rice 2020-11-05 21:45:09 +01:00
parent 8ce52a25bc
commit 7c5f064277
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -386,6 +386,24 @@ (define-public bcachefs-tools
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")