3
0
Fork 0
forked from mirrors/nixpkgs

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

nixos/opengl: Don't set XDG_DATA_DIRS.
This commit is contained in:
worldofpeace 2019-07-11 13:16:08 -04:00 committed by GitHub
commit c924032b68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);