zoxide: remove shell checkInputs

remove unused shell check inputs
This commit is contained in:
Ajeet D'Souza 2021-04-15 18:24:07 +05:30 committed by GitHub
parent 081b9423d4
commit e754546ef7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,13 +5,6 @@
, withFzf ? true
, fzf
, libiconv
# checkInputs
, fish
, powershell
, shellcheck
, shfmt
, xonsh
, zsh
}:
rustPlatform.buildRustPackage rec {
@ -27,23 +20,6 @@ rustPlatform.buildRustPackage rec {
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
# tests are broken on darwin
doCheck = !stdenv.isDarwin;
# fish needs a writable HOME for whatever reason
preCheck = ''
export HOME=$(mktemp -d)
'';
checkInputs = [
fish
powershell
shellcheck
shfmt
xonsh
zsh
];
postPatch = lib.optionalString withFzf ''
substituteInPlace src/fzf.rs \
--replace '"fzf"' '"${fzf}/bin/fzf"'