From 85d3873a2a6000e34218acb240c6a3f0a1e359e3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 6 Apr 2026 06:38:53 +0000 Subject: [PATCH 1/3] alfis-nogui: 0.8.8 -> 0.8.9 --- pkgs/by-name/al/alfis/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/al/alfis/package.nix b/pkgs/by-name/al/alfis/package.nix index f843d80873ea..b0291211b5d6 100644 --- a/pkgs/by-name/al/alfis/package.nix +++ b/pkgs/by-name/al/alfis/package.nix @@ -12,16 +12,16 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "alfis"; - version = "0.8.8"; + version = "0.8.9"; src = fetchFromGitHub { owner = "Revertron"; repo = "Alfis"; tag = "v${finalAttrs.version}"; - hash = "sha256-gRk4kvIV+5cCUFaJvGbTAR44678Twa28iMGZ75lJz2c="; + hash = "sha256-r3QIj9/Qv6y7qWltIjh1WCAZyFKMK2aN4vCsAUJB6PQ="; }; - cargoHash = "sha256-Ge0+7ClXlJFT6CyluHF7k4stsX+KuYp/riro1pvrcKM="; + cargoHash = "sha256-lOSGZIGztZumt/cymMNyBoBl6objrS8F5Nkk1e7T9NE="; nativeBuildInputs = [ pkg-config From fdd5d36b99549cae08c36db3a79680f8497050ae Mon Sep 17 00:00:00 2001 From: misuzu Date: Wed, 8 Apr 2026 19:47:05 +0300 Subject: [PATCH 2/3] alfis: add xdotool to buildInputs --- pkgs/by-name/al/alfis/package.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/al/alfis/package.nix b/pkgs/by-name/al/alfis/package.nix index b0291211b5d6..ed3fcaa29445 100644 --- a/pkgs/by-name/al/alfis/package.nix +++ b/pkgs/by-name/al/alfis/package.nix @@ -6,6 +6,7 @@ pkg-config, makeWrapper, webkitgtk_4_1, + xdotool, zenity, withGui ? true, }: @@ -28,7 +29,10 @@ rustPlatform.buildRustPackage (finalAttrs: { makeWrapper ]; - buildInputs = lib.optional (withGui && stdenv.hostPlatform.isLinux) webkitgtk_4_1; + buildInputs = lib.optionals (withGui && stdenv.hostPlatform.isLinux) [ + webkitgtk_4_1 + xdotool + ]; buildNoDefaultFeatures = true; buildFeatures = [ "doh" ] ++ lib.optional withGui "webgui"; From b364f8fe9b615505489282ceaadbbebdd41f445e Mon Sep 17 00:00:00 2001 From: misuzu Date: Wed, 8 Apr 2026 19:59:39 +0300 Subject: [PATCH 3/3] alfis: fix `Failed to load ayatana-appindicator3 or appindicator3 dynamic library` --- pkgs/by-name/al/alfis/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/al/alfis/package.nix b/pkgs/by-name/al/alfis/package.nix index ed3fcaa29445..7f8352c146be 100644 --- a/pkgs/by-name/al/alfis/package.nix +++ b/pkgs/by-name/al/alfis/package.nix @@ -5,6 +5,7 @@ fetchFromGitHub, pkg-config, makeWrapper, + libayatana-appindicator, webkitgtk_4_1, xdotool, zenity, @@ -43,6 +44,11 @@ rustPlatform.buildRustPackage (finalAttrs: { "--skip=dns::client::tests::test_udp_client" ]; + postPatch = lib.optionalString stdenv.hostPlatform.isLinux '' + substituteInPlace $cargoDepsCopy/*/libappindicator-sys-*/src/lib.rs \ + --replace-fail "libayatana-appindicator3.so.1" "${libayatana-appindicator}/lib/libayatana-appindicator3.so.1" + ''; + postInstall = lib.optionalString (withGui && stdenv.hostPlatform.isLinux) '' wrapProgram $out/bin/alfis \ --prefix PATH : ${lib.makeBinPath [ zenity ]}