summary refs log tree commit diff
path: root/pkgs/os-specific/linux/opengl
Commit message (Collapse)AuthorAge
* treewide: refactor `.attrs.sh` detectionMaximilian Bosch2023-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When specifying the `builder` attribute in `stdenv.mkDerivation`, this will be effectively transformed into builtins.derivation { builder = stdenv.shell; args = [ "-e" builder ]; } This also means that `default-builder.sh` is never sourced and as a result it's not guaranteed that `$NIX_ATTRS_SH_FILE` is set to a correct location[1]. Also, we need to source `.attrs.sh` to source `$stdenv`. So, the following is done now: * If `$NIX_ATTRS_SH_FILE` points to a correct location, then use it. Directly using `.attrs.sh` is problematic for `nix-shell(1)` usage (see previous commit for more context), so prefer the environment variable if possible. * Otherwise, if `.attrs.sh` exists, then use it. See [1] for when this can happen. * If neither applies, it can be assumed that `__structuredAttrs` is turned off and thus nothing needs to be done. [1] It's possible that it doesn't exist at all - in case of Nix 2.3 or it can point to a wrong location on older Nix versions with a bug in `__structuredAttrs`.
* treewide: source .attrs in buildersArtturin2022-12-08
| | | | | | if theres a source $stdenv then this is needed for structuredAttrs
* os-specific/linux: replace name with pname&versionFelix Buehler2021-08-29
|
* pkgs/os-specific: stdenv.lib -> libBen Siraphob2021-01-17
|
* treewide: Add lots of platforms to packages with no metaTuomas Tynkkynen2016-08-02
| | | | Build-tested on x86_64 Linux and on Darwin.
* treewide: Some EOF-whitespace fixesTuomas Tynkkynen2016-08-02
|
* xorg-sys-opengl: fix with multiple outputsVladimír Čunát2016-04-14
| | | | Fixes #14669.
* xlibs: replace occurrences by xorgVladimír Čunát2015-09-15
| | | | | | | This seems to have been confusing people, using both xlibs and xorg, etc. - Avoided renaming local (and different) xlibs binding in gcc*. - Fixed cases where both xorg and xlibs were used. Hopefully everything still works as before.
* rename all occurrences of stdenv.cc.gcc to stdenv.cc.ccEric Seidel2015-01-14
|
* Change occurrences of gcc to the more general ccJohn Wiegley2014-12-26
| | | | | This is done for the sake of Yosemite, which does not have gcc, and yet this change is also compatible with Linux.
* * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointlessEelco Dolstra2012-01-18
| | | | | | function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
* svn path=/nixpkgs/trunk/; revision=12090Eelco Dolstra2008-06-14
|
* * Linux 2.6.25.6.Eelco Dolstra2008-06-10
| | | | svn path=/nixpkgs/trunk/; revision=12032
* nixpkgs dir: nvidia and libsrvgWouter den Breejen2007-05-28
| | | | svn path=/nixpkgs/trunk/; revision=8785
* * Use a pure libdrm.Eelco Dolstra2007-05-15
| | | | svn path=/nixpkgs/trunk/; revision=8704
* * Fix for i915 after X.org upgrade.Eelco Dolstra2006-02-28
| | | | svn path=/nixpkgs/trunk/; revision=4934
* * NVidia support.Eelco Dolstra2006-01-30
| | | | svn path=/nixpkgs/trunk/; revision=4628
* * Added rss-glx, a collection of nice OpenGL screensavers.Eelco Dolstra2006-01-28
| | | | svn path=/nixpkgs/trunk/; revision=4614
* * A quick hack to get accelerated OpenGL working: just use the driverEelco Dolstra2006-01-28
in /usr/lib/libGL.so.1 (which will typically load a driver in /usr/X11R6/lib/modules/dri). This has been tested on a i915 graphics card; it should work with most open source X.org drivers. For NVidia's proprietary drivers (which we cannot build ourselves anyway), some more symlinks are necessary; I'll add those later. So to get hardware-accelerated Quake 3, do: $ nix-env -p /nix/var/nix/profiles/opengl -i xorg-sys-opengl $ nix-env -i quake3-demo $ quake3 svn path=/nixpkgs/trunk/; revision=4613