From bb911faf65f0d05feb8f5b2067a99cae35829257 Mon Sep 17 00:00:00 2001 From: Ian-Woo Kim Date: Thu, 5 Oct 2023 11:25:31 -0700 Subject: [PATCH] add nixGL in #env --- flake.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 09e2979e..b3f97d9f 100644 --- a/flake.nix +++ b/flake.nix @@ -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" '';