biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / virtualization / virtualbox / qt-env-vars.patch
blobad1d1fd11f87b5c2845a691467f2b32d0693d6e5
1 --- a/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp
2 +++ b/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp
3 @@ -2131,6 +2131,11 @@ static void supR3HardenedMainPurgeEnvironment(char **envp)
4 /** @todo Call NT API to do the same. */
5 #endif
8 + /*
9 + * NixOS hack: Set QT_PLUGIN_PATH to make Qt find plugins.
10 + */
11 + setenv("QT_PLUGIN_PATH", "@qtPluginPath@", /*overwrite=*/ 1);