mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-05 17:38:11 +08:00
Update Nix flake (#4489)
This commit is contained in:
+12
-10
@@ -4,7 +4,7 @@ let
|
|||||||
version = "149.0.5+g6770623+chromium-149.0.7827.197";
|
version = "149.0.5+g6770623+chromium-149.0.7827.197";
|
||||||
hashes = {
|
hashes = {
|
||||||
aarch64-linux = "sha256-cBAvcvs1rAg5EKJkCt81RZYupCWpUNIC/nLt3PJow7Q=";
|
aarch64-linux = "sha256-cBAvcvs1rAg5EKJkCt81RZYupCWpUNIC/nLt3PJow7Q=";
|
||||||
x86_64-linux = "sha256-OPGMBJmvvLiLdBDniBQwx7LmTGGI59AcesJdILSeqcs=";
|
x86_64-linux = "sha256-OPGMBJmvvLiLdBDniBQwx7LmTGGI59AcesJdILSeqcs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
selectSystem =
|
selectSystem =
|
||||||
@@ -12,17 +12,19 @@ let
|
|||||||
attrs.${pkgs.stdenv.hostPlatform.system}
|
attrs.${pkgs.stdenv.hostPlatform.system}
|
||||||
or (throw "Unsupported system ${pkgs.stdenv.hostPlatform.system}");
|
or (throw "Unsupported system ${pkgs.stdenv.hostPlatform.system}");
|
||||||
|
|
||||||
|
url = "https://cef-builds.spotifycdn.com/cef_binary_${version}_${
|
||||||
|
selectSystem {
|
||||||
|
aarch64-linux = "linuxarm64";
|
||||||
|
x86_64-linux = "linux64";
|
||||||
|
}
|
||||||
|
}_minimal.tar.bz2";
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://cef-builds.spotifycdn.com/cef_binary_${version}_${
|
inherit url;
|
||||||
selectSystem {
|
|
||||||
aarch64-linux = "linuxarm64";
|
|
||||||
x86_64-linux = "linux64";
|
|
||||||
}
|
|
||||||
}_minimal.tar.bz2";
|
|
||||||
hash = selectSystem hashes;
|
hash = selectSystem hashes;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
pkgs.cef-binary.overrideAttrs (finalAttrs: {
|
pkgs.cef-binary.overrideAttrs {
|
||||||
version = builtins.head (builtins.split "\\+" version);
|
version = builtins.head (builtins.split "\\+" version);
|
||||||
inherit src;
|
inherit src;
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
@@ -38,9 +40,9 @@ pkgs.cef-binary.overrideAttrs (finalAttrs: {
|
|||||||
echo '${
|
echo '${
|
||||||
builtins.toJSON {
|
builtins.toJSON {
|
||||||
type = "minimal";
|
type = "minimal";
|
||||||
name = builtins.baseNameOf finalAttrs.src.url;
|
name = builtins.baseNameOf url;
|
||||||
sha1 = "";
|
sha1 = "";
|
||||||
}
|
}
|
||||||
}' > $out/archive.json
|
}' > $out/archive.json
|
||||||
'';
|
'';
|
||||||
})
|
}
|
||||||
|
|||||||
Generated
+10
-9
@@ -2,11 +2,11 @@
|
|||||||
"nodes": {
|
"nodes": {
|
||||||
"crane": {
|
"crane": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1781825982,
|
"lastModified": 1787326676,
|
||||||
"narHash": "sha256-SlXKwIRIhrOSAcTjCB3ftPLzJWZStQIPS7J1FlZPnKk=",
|
"narHash": "sha256-lWhBbBvC05/xwivKBBiM2YNizpmgqCgyOIzomvRuwxs=",
|
||||||
"owner": "ipetkov",
|
"owner": "ipetkov",
|
||||||
"repo": "crane",
|
"repo": "crane",
|
||||||
"rev": "469fd08d0bcf6926321fa973c6777fbc87785dd7",
|
"rev": "692f7e9ef2ece8125b466f66f2af532b3edaed0d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -17,11 +17,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782723713,
|
"lastModified": 1787900134,
|
||||||
"narHash": "sha256-oPXCU/SSUokcGaJREHibG1CBX3+s/W7orDWQOZDsEeQ=",
|
"narHash": "sha256-VYXO0XZlgj06dxJZRhrD3WoSsvq/c7+/Akyoa22pefw=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "b5aa0fbd538984f6e3d201be0005b4463d8b09f8",
|
"rev": "83199d0d373dd3ac2b9a1996b1d0263f76ab7a4c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -45,11 +45,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1782789458,
|
"lastModified": 1788077403,
|
||||||
"narHash": "sha256-CR55gKCChD9ffN1Ag5az20Z3RD4tylHlcM1SSohkMA8=",
|
"narHash": "sha256-c20YZQKzQ27qC6Wh729fWRTpI7oV4+7Ur4icKssD4Wc=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "067959ef838c440558ca519cf08ca87f43c3db3a",
|
"rev": "89e26eeaafa88a2ede4778734acc794ff0299beb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -62,3 +62,4 @@
|
|||||||
"root": "root",
|
"root": "root",
|
||||||
"version": 7
|
"version": 7
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user