mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
15 lines
418 B
Diff
15 lines
418 B
Diff
|
--- a/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp
|
||
|
+++ b/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp
|
||
|
@@ -2131,6 +2131,11 @@ static void supR3HardenedMainPurgeEnvironment(char **envp)
|
||
|
/** @todo Call NT API to do the same. */
|
||
|
#endif
|
||
|
}
|
||
|
+
|
||
|
+ /*
|
||
|
+ * NixOS hack: Set QT_PLUGIN_PATH to make Qt find plugins.
|
||
|
+ */
|
||
|
+ setenv("QT_PLUGIN_PATH", "@qtPluginPath@", /*overwrite=*/ 1);
|
||
|
}
|
||
|
|
||
|
|