summary refs log tree commit diff
diff options
context:
space:
mode:
authorhuantian <davidtianli@gmail.com>2023-05-09 13:40:13 -0700
committerhuantian <davidtianli@gmail.com>2023-05-09 13:40:13 -0700
commitafb1ed831a77713d43ef1f40920c1a177b5c7171 (patch)
treec00cb2205adf7868edd2811e7bef3e00aa2421cd
parent47d50c95869c035ee6535f4b9069d12cdfc1a2d7 (diff)
downloadnixpkgs-afb1ed831a77713d43ef1f40920c1a177b5c7171.tar
nixpkgs-afb1ed831a77713d43ef1f40920c1a177b5c7171.tar.gz
nixpkgs-afb1ed831a77713d43ef1f40920c1a177b5c7171.tar.bz2
nixpkgs-afb1ed831a77713d43ef1f40920c1a177b5c7171.tar.lz
nixpkgs-afb1ed831a77713d43ef1f40920c1a177b5c7171.tar.xz
nixpkgs-afb1ed831a77713d43ef1f40920c1a177b5c7171.tar.zst
nixpkgs-afb1ed831a77713d43ef1f40920c1a177b5c7171.zip
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.
-rw-r--r--pkgs/development/tools/unityhub/default.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/pkgs/development/tools/unityhub/default.nix b/pkgs/development/tools/unityhub/default.nix
index 8a15b941777..113af6161d8 100644
--- a/pkgs/development/tools/unityhub/default.nix
+++ b/pkgs/development/tools/unityhub/default.nix
@@ -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