insomnia: Add gappsWrapperArgs to wrapProgram
Without wrapping insomnia with `gappsWrapperArgs`, importing from file crashes the application with an error about gsettings-desktop-schemas. In an earlier attempt, I unset the variable `dontWrapGApps = true` but that caused insomnia to be wrapped twice because of the usage of `wrapProgram` in `preFixup`.
This commit is contained in:
committed by
pranaysashank
parent
955cf9d5dd
commit
afd35a40e7
@@ -81,7 +81,7 @@ in stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram "$out/bin/insomnia" --prefix LD_LIBRARY_PATH : ${runtimeLibs}
|
||||
wrapProgram "$out/bin/insomnia" "''${gappsWrapperArgs[@]}" --prefix LD_LIBRARY_PATH : ${runtimeLibs}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user