Fix: Rust-Cleanup & Flake-SHA Patch

This commit is contained in:
Youwes09
2026-05-01 11:32:29 -05:00
parent b79ee99e8a
commit 399d429142
5 changed files with 4 additions and 10 deletions
-6
View File
@@ -53,8 +53,6 @@
gsettings-desktop-schemas
];
# ── source filters ──────────────────────────────────────────────
frontendSrc = lib.cleanSourceWith {
src = ./.;
filter =
@@ -80,8 +78,6 @@
|| (builtins.baseNameOf path == "tauri.conf.json");
};
# ── packages ────────────────────────────────────────────────────
suwayomiServer = pkgs.callPackage ./nix/server.nix { };
frontend = pkgs.callPackage ./nix/frontend.nix {
@@ -94,8 +90,6 @@
appIcon = ./src/assets/moku-icon.svg;
};
# ── dev/release scripts ─────────────────────────────────────────
scripts = import ./nix/scripts.nix { inherit pkgs rustToolchain version; };
in
+1 -1
View File
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
pname = "moku-frontend";
inherit version src;
fetcherVersion = 1;
hash = "sha256-t6Gj84hCE3CuDAJfbdXi0FuqgPCqlkMmAzETcKL4e3U=";
hash = "sha256-eRuSSRhNmJ09mp/uhbG+NFeiOZ5dTOdJ94OwdP6IkN0=";
};
buildPhase = "pnpm build";
+2 -2
View File
@@ -77,9 +77,9 @@ mod windows_hello {
}
#[tauri::command]
pub fn windows_hello_authenticate(reason: String) -> Result<(), String> {
pub fn windows_hello_authenticate(_reason: String) -> Result<(), String> {
#[cfg(target_os = "windows")]
return windows_hello::authenticate(&reason);
return windows_hello::authenticate(&_reason);
#[cfg(not(target_os = "windows"))]
Err("notSupported".into())
}
-1
View File
@@ -1,7 +1,6 @@
#[cfg(target_os = "windows")]
use crate::server::resolve::strip_unc;
use tauri::Manager;
use std::path::PathBuf;
#[tauri::command]
pub fn get_platform_ui_scale(window: tauri::Window) -> f64 {
+1
View File
@@ -1,6 +1,7 @@
use crate::server::do_log;
use serde::Serialize;
use std::path::PathBuf;
use walkdir::WalkDir;
use tauri::Manager;
#[derive(Serialize, Debug)]