zoxide: remove shell checkInputs
remove unused shell check inputs
This commit is contained in:
parent
081b9423d4
commit
e754546ef7
@ -5,13 +5,6 @@
|
|||||||
, withFzf ? true
|
, withFzf ? true
|
||||||
, fzf
|
, fzf
|
||||||
, libiconv
|
, libiconv
|
||||||
# checkInputs
|
|
||||||
, fish
|
|
||||||
, powershell
|
|
||||||
, shellcheck
|
|
||||||
, shfmt
|
|
||||||
, xonsh
|
|
||||||
, zsh
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -27,23 +20,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
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 ''
|
postPatch = lib.optionalString withFzf ''
|
||||||
substituteInPlace src/fzf.rs \
|
substituteInPlace src/fzf.rs \
|
||||||
--replace '"fzf"' '"${fzf}/bin/fzf"'
|
--replace '"fzf"' '"${fzf}/bin/fzf"'
|
||||||
|
Loading…
Reference in New Issue
Block a user