<commit_before># This is a very dirty hack to allow hardware acceleration of OpenGL
# applications for most (?) users.  It will use the driver that your
# Linux distribution installed in /usr/lib/libGL.so.1.  Hopefully,
# this driver uses hardware acceleration.
#
# Of course, use of the driver in /usr/lib is highly impure.  But it
# might actually work ;-)

{stdenv, xorg, expat, libdrm}:

stdenv.mkDerivation {
  name = "xorg-sys-opengl-3";
  builder = ./builder.sh;
  neededLibs = [xorg.libXxf86vm xorg.libXext expat libdrm stdenv.cc.cc];
}
<commit_msg>xorg-sys-opengl: fix with multiple outputs<commit_after># This is a very dirty hack to allow hardware acceleration of OpenGL
# applications for most (?) users.  It will use the driver that your
# Linux distribution installed in /usr/lib/libGL.so.1.  Hopefully,
# this driver uses hardware acceleration.
#
# Of course, use of the driver in /usr/lib is highly impure.  But it
# might actually work ;-)

{stdenv, xorg, expat, libdrm}:

stdenv.mkDerivation {
  name = "xorg-sys-opengl-3";
  builder = ./builder.sh;
  neededLibs = map (p: p.out)
    [xorg.libXxf86vm xorg.libXext expat libdrm stdenv.cc.cc];
}

{'fraction_non_alphanumeric': 0.10585197934595525, 'fraction_numerical': 0.0068846815834767644, 'mean_word_length': 3.8257261410788383, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '365967', 'n_tokens_mistral': 409, 'n_tokens_neox': 396, 'n_words': 139}