Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 cudaOlder, 3 lib, 4 libcublas, 5 numactl, 6 rdma-core, 7}: 8prevAttrs: { 9 buildInputs = prevAttrs.buildInputs or [ ] ++ [ 10 libcublas 11 numactl 12 rdma-core 13 ]; 14 # Before 11.7 libcufile depends on itself for some reason. 15 autoPatchelfIgnoreMissingDeps = 16 prevAttrs.autoPatchelfIgnoreMissingDeps or [ ] 17 ++ lib.lists.optionals (cudaOlder "11.7") [ "libcufile.so.0" ]; 18}