Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
buildGoModule: be nicer when overrideAttrs clears passthru
Before an overlay in the form of: package.overrideAttrs (old: { passthru = {}; }) would fail evaluation like: error: attribute 'overrideModAttrs' missing at /nix/store/afwc3m1sm49qq57xjv2hmd7iy4x0j33h-source/pkgs/build-support/go/module.nix:179:20: 178| outputHashAlgo = if finalAttrs.vendorHash == "" then "sha256" else null; 179| }).overrideAttrs finalAttrs.passthru.overrideModAttrs; | ^ 180| Now instead we take the fallback default.
- Loading branch information