diff --git a/pkgs/by-name/uc/ucx/package.nix b/pkgs/by-name/uc/ucx/package.nix index c7c6b109d12a..2cfb1d498aad 100644 --- a/pkgs/by-name/uc/ucx/package.nix +++ b/pkgs/by-name/uc/ucx/package.nix @@ -48,9 +48,16 @@ stdenv.mkDerivation (finalAttrs: { owner = "openucx"; repo = "ucx"; tag = "v${finalAttrs.version}"; - hash = "sha256-jREdHE+DpT0OQ1pVEUgWnA9hTCP1IsGeATmDTT3YmcM="; + # Otherwise compilation fails with: + # fatal error: gpunetio/common/doca_gpunetio_verbs_def.h: No such file or directory + fetchSubmodules = true; + hash = "sha256-Td6L5wXDadIbHfk251bj6k9J3kIjqCYVx5lDso/u76M="; }; + postPatch = '' + patchShebangs config/nvcc_wrap.sh + ''; + outputs = [ "out" "doc"