From 2141256716b65aa7314410d9dcae475963aaf36c Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Wed, 12 Jun 2024 17:01:49 +0800 Subject: [PATCH] nixos: update pixivfe --- nixos/modules/services/pixivfe-pkg.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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