me
/
guix
Archived
1
0
Fork 0

gnu: Add ntfsfix-static.

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

View File

@ -5967,6 +5967,32 @@ The package provides additional NTFS tools.")
((" -static") " -all-static")))) ((" -static") " -all-static"))))
(delete 'install-link)))))))) (delete 'install-link))))))))
(define-public ntfsfix/static
(package
(name "ntfsfix-static")
(version (package-version ntfs-3g/static))
(source #f)
(build-system trivial-build-system)
(arguments
`(#:modules ((guix build utils))
#:builder
(begin
(use-modules (guix build utils))
(let* ((ntfs-3g (assoc-ref %build-inputs "ntfs-3g"))
(out (assoc-ref %outputs "out"))
(bin (string-append out "/bin")))
(install-file (string-append ntfs-3g "/bin/ntfsfix") bin)
(with-directory-excursion bin
(remove-store-references "ntfsfix"))))))
(inputs
`(("ntfs-3g" ,ntfs-3g/static)))
(home-page (package-home-page ntfs-3g/static))
(synopsis "Statically linked @command{ntfsfix} from ntfs-3g")
(description
"This package provides a statically linked @command{ntfsfix} taken
from the ntfs-3g package. It is meant to be used in initrds.")
(license (package-license ntfs-3g/static))))
(define-public rdma-core (define-public rdma-core
(package (package
(name "rdma-core") (name "rdma-core")