diff --git a/pkgs/shells/fish/default.nix b/pkgs/shells/fish/default.nix index f26cbb5a2b618..d567598c34fe5 100644 --- a/pkgs/shells/fish/default.nix +++ b/pkgs/shells/fish/default.nix @@ -148,7 +148,7 @@ let end # fenv ''; - fish = stdenv.mkDerivation rec { + fish = stdenv.mkDerivation (finalAttrs: { pname = "fish"; version = "4.0b1"; @@ -159,12 +159,12 @@ let # the shell's actual version (and what it displays when running `fish # --version`), as well as the local documentation for all builtins (and # maybe other things). - url = "https://github.com/fish-shell/fish-shell/releases/download/${version}/${pname}-${version}.tar.xz"; + url = "https://github.com/fish-shell/fish-shell/releases/download/${finalAttrs.version}/${finalAttrs.pname}-${finalAttrs.version}.tar.xz"; hash = "sha256-U0M04Q+FciIU6dr/gqV8w1ASNVI/FvjxMcI0Tk7Jjac="; }; cargoDeps = rustPlatform.fetchCargoVendor { - inherit src; + inherit (finalAttrs) src; hash = "sha256-jTVZKzX/Uy2RtyMbeQmatLLrOO+5S5jXrYKMGXNMcV4="; }; @@ -429,6 +429,6 @@ let }; updateScript = nix-update-script { }; }; - }; + }); in fish