Skip to content

Commit

Permalink
add nixGL in #env
Browse files Browse the repository at this point in the history
  • Loading branch information
wavewave committed Oct 5, 2023
1 parent 248f590 commit bb911fa
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,17 @@
pkgs.ormolu
pkgs.zlib
]
++ (pkgs.lib.optional (pkgs.stdenv.isLinux && !pkgs.lib.inPureEvalMode) nixGL.packages.${system}.default);
++ (
pkgs.lib.optionals (pkgs.stdenv.isLinux && !pkgs.lib.inPureEvalMode)
[
nixGL.packages.${system}.default
nixGL.packages.${system}.nixGLNvidia
nixGL.packages.${system}.nixGLNvidiaBumblebee
nixGL.packages.${system}.nixGLIntel
nixGL.packages.${system}.nixVulkanNvidia
nixGL.packages.${system}.nixVulkanIntel
]
);
shellHook = ''
export PS1="\n[${prompt}:\w]$ \0"
'';
Expand Down

0 comments on commit bb911fa

Please sign in to comment.