fish: generate the documentation from source

r-vdp add1bd10 49ea3fd1

Changed files
+7 -2
pkgs
by-name
fi
+7 -2
pkgs/by-name/fi/fish/package.nix
···
libiconv,
pcre2,
pkg-config,
+
sphinx,
gettext,
ncurses,
python3,
···
rustc,
rustPlatform,
versionCheckHook,
+
writableTmpDirAsHomeHook,
# used to generate autocompletions from manpages and for configuration editing in the browser
usePython ? true,
···
# tests/checks/complete.fish
sed -i 's|/bin/ls|${lib.getExe' coreutils "ls"}|' tests/checks/complete.fish
-
sed -i 's|/bin/ls|${coreutils}/bin/ls|' tests/checks/complete.fish
-
# pexpect tests are flaky
# See https://github.com/fish-shell/fish-shell/issues/8789
rm tests/pexpects/exit_handlers.py
···
"out"
"doc"
];
+
strictDeps = true;
+
nativeBuildInputs = [
cargo
cmake
···
pkg-config
rustc
rustPlatform.cargoSetupHook
+
# Avoid warnings when building the manpages about HOME not being writable
+
writableTmpDirAsHomeHook
];
buildInputs = [
···
glibcLocales
(python3.withPackages (ps: [ ps.pexpect ]))
procps
+
sphinx
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# For the getconf command, used in default-setup-path.fish