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
37 lines
815 B
Nix
37 lines
815 B
Nix
{
|
|
lib,
|
|
buildFishPlugin,
|
|
fetchFromGitHub,
|
|
gnused,
|
|
bash,
|
|
coreutils,
|
|
}:
|
|
|
|
buildFishPlugin {
|
|
pname = "foreign-env";
|
|
version = "0-unstable-2020-02-09";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "oh-my-fish";
|
|
repo = "plugin-foreign-env";
|
|
rev = "dddd9213272a0ab848d474d0cbde12ad034e65bc";
|
|
sha256 = "00xqlyl3lffc5l0viin1nyp819wf81fncqyz87jx8ljjdhilmgbs";
|
|
};
|
|
|
|
patches = [ ./suppress-harmless-warnings.patch ];
|
|
|
|
preInstall = ''
|
|
sed -e "s|sed|${gnused}/bin/sed|" \
|
|
-e "s|bash|${bash}/bin/bash|" \
|
|
-e "s|\| tr|\| ${coreutils}/bin/tr|" \
|
|
-i functions/*
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Foreign environment interface for Fish shell";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jgillich ];
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|