me
/
guix
Archived
1
0
Fork 0

gnu: Add ntfs-3g-static.

* gnu/packages/linux.scm (ntfs-3g/static): New public variable.
master
Tobias Geerinckx-Rice 2021-10-11 20:21:05 +02:00
parent f0c0ef60a0
commit 64dfa42d81
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 20 additions and 0 deletions

View File

@ -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")