Commit graph

5 commits

Author SHA1 Message Date
Mel Bourgeois 2641ad375c
nixgl: ensure makeWrapper is present during build
Co-authored-by: V. <150687949+vigress8@users.noreply.github.com>
2024-06-26 21:16:22 -05:00
Mel Bourgeois 378f5e3733
nixgl: use -q to silence grep
Co-authored-by: V. <150687949+vigress8@users.noreply.github.com>
2024-06-26 21:14:08 -05:00
Mel Bourgeois 79a6027c4b
nixgl: use makeWrapper and update docs
makeWrapper is more consistent with the rest of nixpkgs & home-manager,
so it should be a little more maintainable. It can also validate that
the wrapper command is executable at build time.
2024-06-19 18:46:03 -05:00
Mel Bourgeois 71f48ed456
nixgl: make desktop files point to wrapped exe
Some desktop files will refer to the absolute path of the original
derivation, which would bypass nixGL wrapping. So we need to replace the
path with the path to the wrapper derivation to ensure the wrapped
version is always launched.
2024-06-19 18:25:56 -05:00
Mel Bourgeois 5e59fe27d9
init: nixgl module
This module enables wrapping programs which require access to libGL with
nixGL on non-NixOS systems.
2024-05-23 12:36:56 -05:00