···
···
# used to generate autocompletions from manpages and for configuration editing in the browser
···
# 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
···
···
rustPlatform.cargoSetupHook
···
(python3.withPackages (ps: [ ps.pexpect ]))
++ lib.optionals stdenv.hostPlatform.isDarwin [
# For the getconf command, used in default-setup-path.fish
···
···
+
writableTmpDirAsHomeHook,
# used to generate autocompletions from manpages and for configuration editing in the browser
···
# tests/checks/complete.fish
sed -i 's|/bin/ls|${lib.getExe' coreutils "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
···
···
rustPlatform.cargoSetupHook
+
# Avoid warnings when building the manpages about HOME not being writable
+
writableTmpDirAsHomeHook
···
(python3.withPackages (ps: [ ps.pexpect ]))
++ lib.optionals stdenv.hostPlatform.isDarwin [
# For the getconf command, used in default-setup-path.fish