Skip to content

Commit 751d16b

Browse files
authored
fish: 4.0.0 -> 4.0.1 (#389486)
2 parents de4a7ce + b47e684 commit 751d16b

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

pkgs/by-name/fi/fish/package.nix

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
stdenv,
33
lib,
44
fetchFromGitHub,
5-
fetchpatch2,
65
coreutils,
76
darwin,
87
glibcLocales,
@@ -153,13 +152,13 @@ let
153152
in
154153
stdenv.mkDerivation (finalAttrs: {
155154
pname = "fish";
156-
version = "4.0.0";
155+
version = "4.0.1";
157156

158157
src = fetchFromGitHub {
159158
owner = "fish-shell";
160159
repo = "fish-shell";
161160
tag = finalAttrs.version;
162-
hash = "sha256-BLbL5Tj3FQQCOeX5TWXMaxCpvdzZtKe5dDQi66uU/BM=";
161+
hash = "sha256-Mj4v2ubYr4ufs7aU/1AdY239byiCJHKXam64af/VO3U=";
163162
};
164163

165164
env = {
@@ -170,7 +169,7 @@ stdenv.mkDerivation (finalAttrs: {
170169

171170
cargoDeps = rustPlatform.fetchCargoVendor {
172171
inherit (finalAttrs) src patches;
173-
hash = "sha256-4ol4LvabhtjiMMWwV1wrcywFePOmU0Jub1sy+Ay7mLA=";
172+
hash = "sha256-4kqBrpeneCpF0WohP1ZArKrV3duHAE01XA5+GT9f56w=";
174173
};
175174

176175
patches = [
@@ -189,18 +188,6 @@ stdenv.mkDerivation (finalAttrs: {
189188
# * <https://github.com/LnL7/nix-darwin/issues/122>
190189
# * <https://github.com/fish-shell/fish-shell/issues/7142>
191190
./nix-darwin-path.patch
192-
193-
(fetchpatch2 {
194-
name = "cargo_version.diff";
195-
url = "https://github.com/fish-shell/fish-shell/commit/1e069b0fff20b153bc7f824f9f9b820ca4117e1e.diff?full_index=1";
196-
hash = "sha256-XFJ0fT2Zanvdqt/iwgyH2IA/kIOcOHMNdsmuzjTX5qs=";
197-
})
198-
199-
# Fixes a build issue in kitty, see https://github.com/fish-shell/fish-shell/commit/97f0809b62a1fa77df1b9fcbbfe623b6187b5013
200-
# The first patch is needed since it introduces the BufferedOutputter type that's
201-
# used by the second one.
202-
./reduce_writes.patch
203-
./osc_133.patch
204191
];
205192

206193
# Fix FHS paths in tests
@@ -281,6 +268,7 @@ stdenv.mkDerivation (finalAttrs: {
281268
cmakeFlags =
282269
[
283270
"-DCMAKE_INSTALL_DOCDIR=${placeholder "doc"}/share/doc/fish"
271+
"-DRust_CARGO_TARGET=${stdenv.hostPlatform.rust.rustcTarget}"
284272
]
285273
++ lib.optionals stdenv.hostPlatform.isDarwin [
286274
"-DMAC_CODESIGN_ID=OFF"
@@ -398,6 +386,7 @@ stdenv.mkDerivation (finalAttrs: {
398386
cole-h
399387
winter
400388
sigmasquadron
389+
rvdp
401390
];
402391
mainProgram = "fish";
403392
};

0 commit comments

Comments
 (0)