Skip to content

Commit 061b853

Browse files
authored
affine: 0.21.4 -> 0.21.6 (#404415)
2 parents dd4ee16 + b1ea131 commit 061b853

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

pkgs/by-name/af/affine/package.nix

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
stdenvNoCC,
55
fetchFromGitHub,
66
rustPlatform,
7-
electron_34,
7+
electron_35,
88
nodejs_22,
9-
yarn-berry,
9+
yarn-berry_4,
1010
cacert,
1111
writableTmpDirAsHomeHook,
1212
cargo,
@@ -17,12 +17,12 @@
1717
jq,
1818
copyDesktopItems,
1919
makeWrapper,
20+
llvmPackages,
21+
apple-sdk_15,
2022
makeDesktopItem,
2123
nix-update-script,
2224
buildType ? "stable",
2325
commandLineArgs ? "",
24-
llvmPackages,
25-
apple-sdk_15,
2626
}:
2727
let
2828
hostPlatform = stdenvNoCC.hostPlatform;
@@ -34,21 +34,21 @@ let
3434
}
3535
.${hostPlatform.parsed.cpu.name}
3636
or (throw "affine(${buildType}): unsupported CPU family ${hostPlatform.parsed.cpu.name}");
37-
electron = electron_34;
37+
electron = electron_35;
3838
nodejs = nodejs_22;
39-
yarn = yarn-berry.override { inherit nodejs; };
39+
yarn-berry = yarn-berry_4.override { inherit nodejs; };
4040
productName = if buildType != "stable" then "AFFiNE-${buildType}" else "AFFiNE";
4141
binName = lib.toLower productName;
4242
in
4343
stdenv.mkDerivation (finalAttrs: {
4444
pname = binName;
4545

46-
version = "0.21.4";
46+
version = "0.21.6";
4747
src = fetchFromGitHub {
4848
owner = "toeverything";
4949
repo = "AFFiNE";
5050
tag = "v${finalAttrs.version}";
51-
hash = "sha256-Xd8b+JXL46r9Jv5Uv5wdtvSKwnHafEo52v1aERmyxrI=";
51+
hash = "sha256-xiOfy3uskqYv5b0U2s1Zpc4/ydsRhhUd8M33IH0BJ10=";
5252
};
5353

5454
cargoDeps = rustPlatform.fetchCargoVendor {
@@ -59,7 +59,7 @@ stdenv.mkDerivation (finalAttrs: {
5959
name = "yarn-offline-cache";
6060
inherit (finalAttrs) src;
6161
nativeBuildInputs = [
62-
yarn
62+
yarn-berry
6363
cacert
6464
writableTmpDirAsHomeHook
6565
];
@@ -98,7 +98,7 @@ stdenv.mkDerivation (finalAttrs: {
9898
'';
9999
dontInstall = true;
100100
outputHashMode = "recursive";
101-
outputHash = "sha256-w9Lz8wFq34VXInoE5pUeg1B7N92D+TnBWbL2qJ/q8ik=";
101+
outputHash = "sha256-XpVygLwK/vjQJ5cDckIRM3Uo5hcahTz/XV1WjBQmOac=";
102102
};
103103

104104
buildInputs = lib.optionals hostPlatform.isDarwin [
@@ -108,7 +108,7 @@ stdenv.mkDerivation (finalAttrs: {
108108
nativeBuildInputs =
109109
[
110110
nodejs
111-
yarn
111+
yarn-berry
112112
cargo
113113
rustc
114114
findutils

0 commit comments

Comments
 (0)