218fe975b3
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
21 lines
529 B
Nix
21 lines
529 B
Nix
{ buildRedist }:
|
|
buildRedist {
|
|
redistName = "cuda";
|
|
pname = "cuda_compat";
|
|
|
|
# NOTE: Using multiple outputs with symlinks causes build cycles.
|
|
# To avoid that (and troubleshooting why), we just use a single output.
|
|
outputs = [ "out" ];
|
|
|
|
autoPatchelfIgnoreMissingDeps = [
|
|
"libnvdla_runtime.so"
|
|
"libnvrm_gpu.so"
|
|
"libnvrm_mem.so"
|
|
];
|
|
|
|
meta = {
|
|
description = "Provides minor version forward compatibility for the CUDA runtime";
|
|
homepage = "https://docs.nvidia.com/deploy/cuda-compatibility";
|
|
};
|
|
}
|