Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1# Shims to mimic the shape of ../modules/generic/manifests/{feature,redistrib}/release.nix 2{ 3 package, 4 # redistSystem :: String 5 # String is "unsupported" if the given architecture is unsupported. 6 redistSystem, 7}: 8{ 9 featureRelease = { 10 inherit (package) minCudaVersion maxCudaVersion; 11 ${redistSystem}.outputs = { 12 lib = true; 13 static = true; 14 dev = true; 15 }; 16 }; 17 redistribRelease = { 18 name = "NVIDIA CUDA Deep Neural Network library (cuDNN)"; 19 inherit (package) hash url version; 20 }; 21}