mirror of
https://github.com/moeru-ai/airi.git
synced 2026-09-21 05:20:03 +08:00
fix(nix): update nix package and flake (#359)
This commit is contained in:
Generated
+328
-215
File diff suppressed because it is too large
Load Diff
@@ -22,10 +22,15 @@ crate-type = [
|
||||
tauri = "2.3.1"
|
||||
tokio = { version = "1", features = [ "full" ] }
|
||||
anyhow = "1"
|
||||
rdev = { git = "https://github.com/Narsil/rdev", version = "0.6.0", features = ["serialize"] }
|
||||
serde = { version = "1.0.219", features = ["derive"] }
|
||||
serde_json = "1.0.142"
|
||||
log = "0.4.27"
|
||||
|
||||
[target.'cfg(not(target_os = "linux"))'.dependencies]
|
||||
rdev = { git = "https://github.com/Narsil/rdev", version = "0.6.0", features = ["serialize"] }
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
rdev = { git = "https://github.com/Narsil/rdev", version = "0.6.0", features = ["serialize", "wayland", "x11"] }
|
||||
|
||||
[build-dependencies]
|
||||
tauri-plugin = { version = "2.2", features = [ "build" ] }
|
||||
|
||||
Generated
+3
-3
@@ -2,11 +2,11 @@
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1752950548,
|
||||
"narHash": "sha256-NS6BLD0lxOrnCiEOcvQCDVPXafX1/ek1dfJHX1nUIzc=",
|
||||
"lastModified": 1755186698,
|
||||
"narHash": "sha256-wNO3+Ks2jZJ4nTHMuks+cxAiVBGNuEBXsT29Bz6HASo=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c87b95e25065c028d31a94f06a62927d18763fdf",
|
||||
"rev": "fbcf476f790d8a217c3eab4e12033dc4a0f6d23c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
+10
-3
@@ -18,23 +18,28 @@
|
||||
nodejs,
|
||||
onnxruntime,
|
||||
openssl,
|
||||
systemdLibs,
|
||||
webkitgtk_4_1,
|
||||
xorg,
|
||||
|
||||
debugBuild ? false,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (final: {
|
||||
pname = "airi";
|
||||
version = "0.7.0-beta.1";
|
||||
version = "0.7.1";
|
||||
|
||||
src = ./.;
|
||||
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes."rdev-0.6.0" = "sha256-mGt44/kVo5EJO1Wf6MPLq0sZgwGTzuQjeVT6HxVzpQY=";
|
||||
};
|
||||
|
||||
pnpmDeps = pnpm.fetchDeps {
|
||||
inherit (final) pname version src;
|
||||
fetcherVersion = 1;
|
||||
hash = "sha256-i4HEZM79g12xzxMDWXyVXWAu4DFnOqtE9aXTEON+uco="; # To update, set it to ""
|
||||
hash = "sha256-XkSqDFiDUH3Z/bykyLcXLlFiIOGtHR/i1ZkErX0GuQk="; # To update, set it to ""
|
||||
};
|
||||
|
||||
# Cache of assets downloaded during vite build
|
||||
@@ -91,7 +96,9 @@ rustPlatform.buildRustPackage (final: {
|
||||
alsa-lib # Used by alsa-sys
|
||||
atk # Used by atk-sys
|
||||
libayatana-appindicator # Used by libappindicator-sys
|
||||
systemdLibs # For libudev used by libudev-sys
|
||||
webkitgtk_4_1
|
||||
xorg.libXtst # Used by x11
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
|
||||
Reference in New Issue
Block a user