treefmt / nix fmt (pull_request) Successful in 2s
build_systems / prebuild-common-x86-64-v3 (pull_request) Successful in 21s
build_systems / build-portal-1 (pull_request) Successful in 18s
test ebook search / test-ebook-search (pull_request) Successful in 1m6s
build_systems / build-bob (pull_request) Successful in 1m58s
build_systems / build-rhapsody-in-green (pull_request) Failing after 38m40s
build_systems / build-jeeves (pull_request) Successful in 8h2m34s
build_systems / build-brain (pull_request) Failing after 12h0m0s
20 lines
599 B
Nix
20 lines
599 B
Nix
{ prev }:
|
|
let
|
|
buildRedistHook = prev.runCommand "buildRedistHook.bash" { } ''
|
|
cp ${prev.path}/pkgs/development/cuda-modules/buildRedist/buildRedistHook.bash "$out"
|
|
chmod u+w "$out"
|
|
patch "$out" < ${./propagated-build-output-arrays.patch}
|
|
'';
|
|
in
|
|
prev.cudaPackages_12_9.overrideScope (
|
|
_cudaFinal: cudaPrev: {
|
|
buildRedist =
|
|
args:
|
|
(cudaPrev.buildRedist args).overrideAttrs (old: {
|
|
nativeBuildInputs = map (
|
|
input: if builtins.baseNameOf input == "buildRedistHook.bash" then buildRedistHook else input
|
|
) old.nativeBuildInputs;
|
|
});
|
|
}
|
|
)
|