CUDA: Difference between revisions
Replace nix-community binary cache with cache.nixos-cuda.org |
m Remove nowiki tags |
||
| Line 62: | Line 62: | ||
<syntaxhighlight lang="nix" line="1" start="1"> | <syntaxhighlight lang="nix" line="1" start="1"> | ||
# flake.nix, run with `nix develop`# Run with `nix-shell cuda-shell.nix` | # flake.nix, run with `nix develop`# Run with `nix-shell cuda-shell.nix` | ||
{ pkgs ? import | { pkgs ? import <nixpkgs> {} }: | ||
let | let | ||
nvidiaPackage = pkgs.linuxPackages.nvidiaPackages.stable; | nvidiaPackage = pkgs.linuxPackages.nvidiaPackages.stable; | ||