guix_mirror_bot pushed a commit to branch master
in repository guix.
commit f46fc3849782ecb64c9109ed2f0a97e5e3f8a208
Author: Hilton Chain <[email protected]>
AuthorDate: Tue Feb 17 20:06:47 2026 +0800
gnu: fish: Remove unused dependencies.
The documentation has been built with Sphinx since fish 3.1b1.
groff dependency has been removed since fish 4.1.0.
* gnu/packages/shells.scm (fish)
[arguments] <#:phases>: Remove embed-absolute-paths phase.
[native-inputs]: Remove doxygen and groff.
Add comment for python-sphinx.
---
gnu/packages/shells.scm | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 5d09c9e8dd..4620dccd8f 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -74,6 +74,7 @@
#:use-module (gnu packages readline)
#:use-module (gnu packages rust)
#:use-module (gnu packages scheme)
+ #:use-module (gnu packages sphinx)
#:use-module (gnu packages terminals)
#:use-module (gnu packages version-control)
#:use-module (gnu packages xdisorg)
@@ -151,11 +152,10 @@ direct descendant of NetBSD's Almquist Shell
(@command{ash}).")
(cargo-inputs 'fish)))
(native-inputs
(append
- (list doxygen
- gettext-minimal ;localization support
- groff ;for 'fish --help'
+ (list gettext-minimal ;localization support
pkg-config
procps ;for the test suite
+ ;; python-sphinx ;for documentation TODO: cargo-xtask
rust
`(,rust "cargo"))
(or (and=> (%current-target-system)
@@ -252,11 +252,6 @@ direct descendant of NetBSD's Almquist Shell
(@command{ash}).")
"end\n")
port)
(close-port port))))
- ;; Embed absolute paths.
- (add-before 'install 'embed-absolute-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "share/functions/__fish_print_help.fish"
- (("nroff") (search-input-file inputs "bin/nroff")))))
;; Enable completions, functions and configurations in user's and
;; system's guix profiles by adding them to __extra_* variables.
(add-before 'install 'patch-fish-extra-paths