Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
32 lines
875 B
Nix
32 lines
875 B
Nix
{
|
|
lib,
|
|
buildFishPlugin,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
# Due to a quirk in tide breaking wrapFish, we need to add additional commands in the config.fish
|
|
# Refer to the following comment to get you setup: https://github.com/NixOS/nixpkgs/pull/201646#issuecomment-1320893716
|
|
buildFishPlugin rec {
|
|
pname = "tide";
|
|
version = "6.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "IlanCosman";
|
|
repo = "tide";
|
|
rev = "v${version}";
|
|
hash = "sha256-1ApDjBUZ1o5UyfQijv9a3uQJ/ZuQFfpNmHiDWzoHyuw=";
|
|
};
|
|
|
|
#buildFishplugin will only move the .fish files, but tide has a tide configure function
|
|
postInstall = ''
|
|
cp -R functions/tide $out/share/fish/vendor_functions.d/
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Ultimate Fish prompt";
|
|
homepage = "https://github.com/IlanCosman/tide";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.jocelynthode ];
|
|
};
|
|
}
|