Skip to content

Commit 1c5d66d

Browse files
committed
nix: use nixgl when cuda is enabled (oops)
1 parent c92a5c7 commit 1c5d66d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nix/lib.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,6 @@ let
145145

146146
useHostGpuDrivers =
147147
if pkgs.config.cudaSupport then
148-
(package: package)
149-
else
150148
(
151149
package:
152150
pkgs.runCommandNoCC "${package.name}-nixgl-wrapped"
@@ -162,7 +160,9 @@ let
162160
fi
163161
done
164162
''
165-
);
163+
)
164+
else
165+
(package: package);
166166

167167
solanaCraneLib =
168168
(inputs.crane.mkLib pkgs).overrideToolchain

0 commit comments

Comments
 (0)