From da1d6cb414452ec77664350314c5e301e4b846b5 Mon Sep 17 00:00:00 2001 From: klea Date: Mon, 20 Jul 2026 11:01:43 +0000 Subject: [PATCH] oh-my-fish: unstable-2022-03-27 -> 8 - Conform to the version scheme. (#541820) - Upgrade to newest release, from a unstable version which would otherwise be 7-unstable-2022-03-27. - Enable nix-upgrade via the script - Use tags instead of rev, since we're no longer using a unstable version. --- pkgs/by-name/oh/oh-my-fish/package.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/oh/oh-my-fish/package.nix b/pkgs/by-name/oh/oh-my-fish/package.nix index b93eb00d7862..2034665a5507 100644 --- a/pkgs/by-name/oh/oh-my-fish/package.nix +++ b/pkgs/by-name/oh/oh-my-fish/package.nix @@ -5,17 +5,18 @@ fish, runtimeShell, replaceVars, + nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "oh-my-fish"; - version = "unstable-2022-03-27"; + version = "8"; src = fetchFromGitHub { owner = "oh-my-fish"; repo = "oh-my-fish"; - rev = "d428b723c8c18fef3b2a00b8b8b731177f483ad8"; - hash = "sha256-msItKEPe7uSUpDAfCfdYZjt5NyfM3KtOrLUTO9NGqlg="; + tag = "v${finalAttrs.version}"; + hash = "sha256-2IDXRQUMuPHKHYsB+2kNWBc2WxgA6732oJbrPDjRdp0="; }; patches = [ @@ -54,6 +55,8 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstall ''; + passthru.updateScript = nix-update-script { }; + meta = { homepage = "https://github.com/oh-my-fish/oh-my-fish"; description = "Fish Shell Framework";