os/shared/lib.nix

13 lines
310 B
Nix
Raw Normal View History

2023-05-21 22:26:26 +02:00
{ pkgs, ... }:
with pkgs; rec {
nixGL =
let src = fetchGit { ref = "main"; url = "https://github.com/guibou/nixGL.git"; };
in (import src {}).auto.nixGLDefault;
nixGLWrapper = program: writeShellScriptBin program.pname ''
${nixGL}/bin/nixGL ${program}/bin/${program.pname} "$@"
'';
}