Skip to content
Permalink
Browse files

Merge pull request #63894 from ambrop72/no-opengl-xdg-data-dirs

nixos/opengl: Don't set XDG_DATA_DIRS.
  • Loading branch information...
worldofpeace committed Jul 11, 2019
2 parents a6ce6c1 + c07fb9c commit c924032b6800a904963a23dcd2982d5e3e0690b4
Showing with 0 additions and 3 deletions.
  1. +0 −3 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);

0 comments on commit c924032

Please sign in to comment.
You can’t perform that action at this time.