archi: fix gtk errors (#220080)
This commit is contained in:
parent
8e8c64611b
commit
40035456cf
|
@ -5,6 +5,8 @@
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, jdk
|
, jdk
|
||||||
, libsecret
|
, libsecret
|
||||||
|
, webkitgtk
|
||||||
|
, wrapGAppsHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -31,6 +33,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
makeWrapper
|
makeWrapper
|
||||||
|
wrapGAppsHook
|
||||||
] ++ lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook;
|
] ++ lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook;
|
||||||
|
|
||||||
installPhase =
|
installPhase =
|
||||||
|
@ -43,6 +46,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
install -D -m755 Archi $out/libexec/Archi
|
install -D -m755 Archi $out/libexec/Archi
|
||||||
makeWrapper $out/libexec/Archi $out/bin/Archi \
|
makeWrapper $out/libexec/Archi $out/bin/Archi \
|
||||||
|
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath ([ webkitgtk ])} \
|
||||||
--prefix PATH : ${jdk}/bin
|
--prefix PATH : ${jdk}/bin
|
||||||
''
|
''
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue