unityhub: remove GTK filepicker workaround

Previously, /usr/share was manually added to XDG_DATA_DIRS in the FHS env to allow GTK filepickers in the application to work.
This is no longer necessary as #230375 implements this change for all FHS envs.
This commit is contained in:
huantian 2023-05-09 13:40:13 -07:00
parent 47d50c9586
commit afb1ed831a
No known key found for this signature in database
GPG Key ID: 4A0318E04E555DE5

View File

@ -21,9 +21,6 @@ stdenv.mkDerivation rec {
name = "${pname}-fhs-env";
runScript = "";
# Seems to be needed for GTK filepickers to work in FHSUserEnv
profile = "XDG_DATA_DIRS=\"\$XDG_DATA_DIRS:/usr/share/\"";
targetPkgs = pkgs: with pkgs; [
xorg.libXrandr