From 40035456cf8842e54823336771484a4ed2dd48a9 Mon Sep 17 00:00:00 2001 From: paumr <53442728+paumr@users.noreply.github.com> Date: Sun, 19 Mar 2023 21:30:40 +0100 Subject: [PATCH] archi: fix gtk errors (#220080) --- pkgs/tools/misc/archi/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/misc/archi/default.nix b/pkgs/tools/misc/archi/default.nix index 14465cc3a94..c9a647d000a 100644 --- a/pkgs/tools/misc/archi/default.nix +++ b/pkgs/tools/misc/archi/default.nix @@ -5,6 +5,8 @@ , makeWrapper , jdk , libsecret +, webkitgtk +, wrapGAppsHook }: stdenv.mkDerivation rec { @@ -31,6 +33,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ makeWrapper + wrapGAppsHook ] ++ lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook; installPhase = @@ -43,6 +46,7 @@ stdenv.mkDerivation rec { install -D -m755 Archi $out/libexec/Archi makeWrapper $out/libexec/Archi $out/bin/Archi \ + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath ([ webkitgtk ])} \ --prefix PATH : ${jdk}/bin '' else