diff --git a/nixos/modules/services/pixivfe-pkg.nix b/nixos/modules/services/pixivfe-pkg.nix index f4117c2..65aa2d7 100644 --- a/nixos/modules/services/pixivfe-pkg.nix +++ b/nixos/modules/services/pixivfe-pkg.nix @@ -6,18 +6,20 @@ }: buildGoModule rec { pname = "pixivfe"; - version = "2.5.1"; + version = "2.6"; src = fetchFromGitea { domain = "codeberg.org"; owner = "VnPower"; repo = "PixivFE"; rev = "v${version}"; - hash = "sha256-G2pSPpemMFAbQ9QkI4XAHobv+Em9ZoDUJiO/cwEy4Tc="; + hash = "sha256-pusyCXy2tsdvOSUR6LfSYHv8YT1tiCErqUEkUgKYbZ4="; }; vendorHash = "sha256-QapDR964Tn+RxXdkGqCQXacdmlSapF841Y84n4d/6VI="; + ldflags = ["-s" "-w"]; + nativeBuildInputs = [makeBinaryWrapper]; # PixivFE require files from source code