nix-community / nixGL

A wrapper tool for nix OpenGL application [maintainer=@guibou]
677 stars 78 forks source link

using `nixVulkanIntel` with flake `devShell` #95

Closed Anton-4 closed 2 years ago

Anton-4 commented 2 years ago

Hi, I'm still quite new to nix and I'm having trouble figuring out how to set up my flake to make the nixVulkanIntel command accessible through devShell. So I want to able to execute nix develop followed by nixVulkanIntel myprogram.

Any help is appreciated :)

Anton-4 commented 2 years ago

Looks like I could just do nix run --override-input nixpkgs nixpkgs/nixos-21.11 --impure github:guibou/nixGL#nixVulkanIntel -- MyProgram.