archi: fix gtk errors (#220080)
This commit is contained in:
parent
8e8c64611b
commit
40035456cf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user