Skip to content

Commit

Permalink
fix(wrapper): use pname
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkolenz committed Dec 5, 2024
1 parent 4df329f commit 67d21dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion overlays/cuda-wrapper.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ writeShellApplication, lib }:
package:
writeShellApplication {
inherit (package) name;
inherit (package) pname;
text = ''
case "''${CUDA_VISIBLE_DEVICES:-100}" in
100) CUDA_VISIBLE_DEVICES="$(findgpu)" ;;
Expand Down

0 comments on commit 67d21dc

Please sign in to comment.