aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-10-11 20:21:05 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-10-13 01:20:18 +0200
commit64dfa42d813d582d6781e5c9a9a2dc96727ac311 (patch)
treec702e445996039773ee2e1d997391118d1f3541a /gnu
parentf0c0ef60a02a5373652adc819a8c2cce391a8f24 (diff)
downloadguix-64dfa42d813d582d6781e5c9a9a2dc96727ac311.tar.gz
guix-64dfa42d813d582d6781e5c9a9a2dc96727ac311.zip
gnu: Add ntfs-3g-static.
* gnu/packages/linux.scm (ntfs-3g/static): New public variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/linux.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index f40d954cc5..457ca231ac 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5947,6 +5947,26 @@ commonly found on Microsoft Windows. It is implemented as a FUSE file system.
The package provides additional NTFS tools.")
(license license:gpl2+)))
+(define-public ntfs-3g/static
+ (static-package
+ (package
+ (inherit ntfs-3g)
+ (name "ntfs-3g-static")
+ (arguments
+ (substitute-keyword-arguments (package-arguments ntfs-3g)
+ ((#:configure-flags flags)
+ `(append ,flags
+ (list "--enable-really-static"
+ ;; The FUSE driver isn't currently used by our initrd.
+ "--disable-ntfs-3g")))
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-after 'unpack 'make-really-static-really-static
+ (lambda _
+ (substitute* "ntfsprogs/Makefile.in"
+ ((" -static") " -all-static"))))
+ (delete 'install-link))))))))
+
(define-public rdma-core
(package
(name "rdma-core")