guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/13: gnu: Add bcachefs-tools-static.


From: guix-commits
Subject: 06/13: gnu: Add bcachefs-tools-static.
Date: Sun, 29 Nov 2020 11:29:28 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 7c5f064277f5841a3c8d50e621a243d000055d20
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Thu Nov 5 21:45:09 2020 +0100

    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(+)

diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index bc147bf..8c382a0 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]