diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-11-26 06:01:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-26 06:01:19 +0000 |
commit | 4069806fb6f0e457266dc1cd4de2dfb4989f9197 (patch) | |
tree | 31957584464a8f9175b183bd89f50c26fc5578d7 /pkgs/shells | |
parent | dc40324f5959753fee712e78e1a43c2275c6e759 (diff) | |
parent | b6eefb4ac4b96a81d6c63027f2ea7a40ebe3559d (diff) |
Merge staging-next into staging
Diffstat (limited to 'pkgs/shells')
-rw-r--r-- | pkgs/shells/fish/oh-my-fish/default.nix | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/pkgs/shells/fish/oh-my-fish/default.nix b/pkgs/shells/fish/oh-my-fish/default.nix deleted file mode 100644 index 6c09599972d14..0000000000000 --- a/pkgs/shells/fish/oh-my-fish/default.nix +++ /dev/null @@ -1,62 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, fish -, runtimeShell -, writeShellScript -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "oh-my-fish"; - version = "unstable-2022-03-27"; - - src = fetchFromGitHub { - owner = finalAttrs.pname; - repo = finalAttrs.pname; - rev = "d428b723c8c18fef3b2a00b8b8b731177f483ad8"; - hash = "sha256-msItKEPe7uSUpDAfCfdYZjt5NyfM3KtOrLUTO9NGqlg="; - }; - - strictDeps = true; - buildInputs = [ - fish - ]; - - dontConfigure = true; - dontBuild = true; - - installPhase = '' - runHook preInstall - - mkdir -pv $out/bin $out/share/${finalAttrs.pname} - cp -vr * $out/share/${finalAttrs.pname} - - cat << EOF > $out/bin/omf-install - #!${runtimeShell} - - ${fish}/bin/fish \\ - $out/share/${finalAttrs.pname}/bin/install \\ - --noninteractive \\ - --offline=$out/share/${finalAttrs.pname} - - EOF - chmod +x $out/bin/omf-install - - runHook postInstall - ''; - - meta = with lib; { - homepage = "https://github.com/oh-my-fish/oh-my-fish"; - description = "The Fish Shell Framework"; - longDescription = '' - Oh My Fish provides core infrastructure to allow you to install packages - which extend or modify the look of your shell. It's fast, extensible and - easy to use. - ''; - license = licenses.mit; - maintainers = with maintainers; [ AndersonTorres ]; - mainProgram = "omf-install"; - platforms = fish.meta.platforms; - }; -}) -# TODO: customize the omf-install script |