nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at fix-function-merge 28 lines 869 B view raw
1{ lib, buildFishPlugin, fetchFromGitHub }: 2 3# Due to a quirk in tide breaking wrapFish, we need to add additional commands in the config.fish 4# Refer to the following comment to get you setup: https://github.com/NixOS/nixpkgs/pull/201646#issuecomment-1320893716 5buildFishPlugin rec { 6 pname = "tide"; 7 version = "6.1.1"; 8 9 src = fetchFromGitHub { 10 owner = "IlanCosman"; 11 repo = "tide"; 12 rev = "v${version}"; 13 hash = "sha256-ZyEk/WoxdX5Fr2kXRERQS1U1QHH3oVSyBQvlwYnEYyc="; 14 }; 15 16 #buildFishplugin will only move the .fish files, but tide has a tide configure function 17 postInstall = '' 18 cp -R functions/tide $out/share/fish/vendor_functions.d/ 19 ''; 20 21 meta = with lib; { 22 description = "Ultimate Fish prompt"; 23 homepage = "https://github.com/IlanCosman/tide"; 24 license = licenses.mit; 25 maintainers = [ maintainers.jocelynthode ]; 26 }; 27} 28