nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 23 lines 398 B view raw
1{ 2 buildRedist, 3 cudaAtLeast, 4 lib, 5}: 6buildRedist { 7 redistName = "cuda"; 8 pname = "libnvjitlink"; 9 10 outputs = [ 11 "out" 12 "dev" 13 "include" 14 "lib" 15 "static" 16 ] 17 ++ lib.optionals (cudaAtLeast "12.2") [ "stubs" ]; 18 19 meta = { 20 description = "APIs which can be used at runtime to link together GPU device code"; 21 homepage = "https://docs.nvidia.com/cuda/nvjitlink"; 22 }; 23}