summary refs log tree commit diff
path: root/nixos/modules/hardware/opengl.nix
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-07-11 13:16:08 -0400
committerGitHub <noreply@github.com>2019-07-11 13:16:08 -0400
commitc924032b6800a904963a23dcd2982d5e3e0690b4 (patch)
tree0893a207ace3fe0ddfe49ef6e9aef3a0616397d3 /nixos/modules/hardware/opengl.nix
parenta6ce6c10525f38aadd2c3a8376c2b1a3c16668ec (diff)
parentc07fb9cebdf0efc2d3d85f68801b72f45df25d49 (diff)
downloadnixpkgs-c924032b6800a904963a23dcd2982d5e3e0690b4.tar
nixpkgs-c924032b6800a904963a23dcd2982d5e3e0690b4.tar.gz
nixpkgs-c924032b6800a904963a23dcd2982d5e3e0690b4.tar.bz2
nixpkgs-c924032b6800a904963a23dcd2982d5e3e0690b4.tar.lz
nixpkgs-c924032b6800a904963a23dcd2982d5e3e0690b4.tar.xz
nixpkgs-c924032b6800a904963a23dcd2982d5e3e0690b4.tar.zst
nixpkgs-c924032b6800a904963a23dcd2982d5e3e0690b4.zip
Merge pull request #63894 from ambrop72/no-opengl-xdg-data-dirs
nixos/opengl: Don't set XDG_DATA_DIRS.
Diffstat (limited to 'nixos/modules/hardware/opengl.nix')
-rw-r--r--nixos/modules/hardware/opengl.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/nixos/modules/hardware/opengl.nix b/nixos/modules/hardware/opengl.nix
index bfb54e864c2..57cac56bd8a 100644
--- a/nixos/modules/hardware/opengl.nix
+++ b/nixos/modules/hardware/opengl.nix
@@ -161,9 +161,6 @@ in
     environment.sessionVariables.LD_LIBRARY_PATH = mkIf cfg.setLdLibraryPath
       ([ "/run/opengl-driver/lib" ] ++ optional cfg.driSupport32Bit "/run/opengl-driver-32/lib");
 
-    environment.variables.XDG_DATA_DIRS =
-      [ "/run/opengl-driver/share" ] ++ optional cfg.driSupport32Bit "/run/opengl-driver-32/share";
-
     hardware.opengl.package = mkDefault (makePackage pkgs);
     hardware.opengl.package32 = mkDefault (makePackage pkgs.pkgsi686Linux);