summary refs log tree commit diff
path: root/doc/packages/opengl.xml
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-10-20 13:14:30 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2019-10-20 13:35:04 +0200
commitefb55d2a42e1b047c65b1d125cc955df84f8e0af (patch)
tree7d85166013563290286de17be73482de790126f8 /doc/packages/opengl.xml
parent115018ff15528f51235a8ac45c4261b7bd6a8173 (diff)
downloadnixpkgs-efb55d2a42e1b047c65b1d125cc955df84f8e0af.tar
nixpkgs-efb55d2a42e1b047c65b1d125cc955df84f8e0af.tar.gz
nixpkgs-efb55d2a42e1b047c65b1d125cc955df84f8e0af.tar.bz2
nixpkgs-efb55d2a42e1b047c65b1d125cc955df84f8e0af.tar.lz
nixpkgs-efb55d2a42e1b047c65b1d125cc955df84f8e0af.tar.xz
nixpkgs-efb55d2a42e1b047c65b1d125cc955df84f8e0af.tar.zst
nixpkgs-efb55d2a42e1b047c65b1d125cc955df84f8e0af.zip
doc: split packages part into xml file per package
Diffstat (limited to 'doc/packages/opengl.xml')
-rw-r--r--doc/packages/opengl.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/packages/opengl.xml b/doc/packages/opengl.xml
new file mode 100644
index 00000000000..fcb624736b0
--- /dev/null
+++ b/doc/packages/opengl.xml
@@ -0,0 +1,9 @@
+<section xmlns="http://docbook.org/ns/docbook"
+         xmlns:xlink="http://www.w3.org/1999/xlink"
+         xml:id="sec-opengl">
+ <title>OpenGL</title>
+
+ <para>
+ Packages that use OpenGL have NixOS desktop as their primary target. The current solution for loading the GPU-specific drivers is based on <literal>libglvnd</literal> and looks for the driver implementation in <literal>LD_LIBRARY_PATH</literal>. If you are using a non-NixOS GNU/Linux/X11 desktop with free software video drivers, consider launching OpenGL-dependent programs from Nixpkgs with Nixpkgs versions of <literal>libglvnd</literal> and <literal>mesa_drivers</literal> in <literal>LD_LIBRARY_PATH</literal>. For proprietary video drivers you might have luck with also adding the corresponding video driver package.
+ </para>
+</section>
\ No newline at end of file