electron: fix GSETTINGS_SCHEMAS_PATH (#259157)
This commit is contained in:
parent
1c3ce8471d
commit
99515b5c50
1 changed files with 9 additions and 0 deletions
|
@ -2,6 +2,10 @@
|
|||
, electron-unwrapped
|
||||
, wrapGAppsHook
|
||||
, makeWrapper
|
||||
, gsettings-desktop-schemas
|
||||
, glib
|
||||
, gtk3
|
||||
, gtk4
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
@ -9,9 +13,14 @@ stdenv.mkDerivation {
|
|||
inherit (electron-unwrapped) version;
|
||||
|
||||
nativeBuildInputs = [ wrapGAppsHook makeWrapper ];
|
||||
buildInputs = [
|
||||
# needed for GSETTINGS_SCHEMAS_PATH
|
||||
gsettings-desktop-schemas glib gtk3 gtk4
|
||||
];
|
||||
dontWrapGApps = true;
|
||||
|
||||
buildCommand = ''
|
||||
gappsWrapperArgsHook
|
||||
mkdir -p $out/bin
|
||||
makeWrapper "${electron-unwrapped}/libexec/electron/electron" "$out/bin/electron" \
|
||||
"''${gappsWrapperArgs[@]}" \
|
||||
|
|
Loading…
Reference in a new issue