git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #32104 from adisbladis/fish-2_7_0

fish: 2.6.0 -> 2.7.0

commit75e0ef8fb7496d7cfb7a77d01147a0a73493689f authorJörg Thalheim <Mic92@users.noreply.github.com> dateMon 27 Nov 2017, 12:18 (9 years ago) parent13bb5ffee933bd
1 file changed+7−5
pkgs/shells/fish/default.nix+7−5
pkgs/shells/fish/default.nix+7−5
@@ -35,11 +35,11 @@ let
3535 # source both, but source the more global configuration files earlier
3636 # than the more local ones, so that more local configurations inherit
3737 # from but override the more global locations.
38−
38+
3939 if test -f /etc/fish/config.fish
4040 source /etc/fish/config.fish
4141 end
42−
42+
4343 # #
4444 ############### ↑ Nix hook for sourcing /etc/fish/config.fish ↑ ###############
4545 '';
@@ -88,13 +88,15 @@ let
8888
8989 fish = stdenv.mkDerivation rec {
9090 name = "fish-${version}";
91− version = "2.6.0";
91+ version = "2.7.0";
9292
9393 etcConfigAppendix = builtins.toFile "etc-config.appendix.fish" etcConfigAppendixText;
9494
9595 src = fetchurl {
96− url = "http://fishshell.com/files/${version}/${name}.tar.gz";
97− sha256 = "1yzx73kg5ng5ivhi68756sl5hpb8869110l9fwim6gn7f7bbprby";
96+ # There are differences between the release tarball and the tarball github packages from the tag
97+ # Hence we cannot use fetchFromGithub
98+ url = "https://github.com/fish-shell/fish-shell/releases/download/${version}/${name}.tar.gz";
99+ sha256 = "1jvvm27hp46w0cia14lfz6161dkz8b935j1m7j38i7rgx75bfxis";
98100 };
99101
100102 buildInputs = [ ncurses libiconv pcre2 ];