gnu: bcachefs-tools: Remove obsolete phase.

* gnu/packages/file-systems.scm (bcachefs-tools)[arguments]: Remove
obsolete phase to 'patch-shell-wrappers that no longer exist.
This commit is contained in:
Tobias Geerinckx-Rice 2023-09-24 02:00:00 +02:00
parent aaa0a4c636
commit 21363801ae
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -619,17 +619,7 @@ (define-public bcachefs-tools
"not test_fsck and "
"not test_list and "
"not test_list_inodes and "
"not test_list_dirent")))))
(add-after 'install 'patch-shell-wrappers
;; These are overcomplicated wrappers that invoke readlink(1)
;; to exec the appropriate bcachefs(8) subcommand. We can
;; simply patch in the latter file name directly, and do.
(lambda _
(let ((sbin/ (string-append #$output "/sbin/")))
(substitute* (find-files sbin/ (lambda (file stat)
(not (elf-file? file))))
(("SDIR=.*") "")
(("\\$\\{SDIR.*}/") sbin/))))))))
"not test_list_dirent"))))))))
(native-inputs
(cons* pkg-config
;; For generating documentation with rst2man.