buildMavenRepo: Fix override fn

This commit is contained in:
Tad Fisher
2024-06-13 17:44:27 -07:00
parent 00e9cd4cc8
commit 03c1b713ad

View File

@@ -129,7 +129,7 @@ let
scheme = head (builtins.match "([a-z0-9+.-]+)://.*" url);
fetch' = getAttr scheme fetchers';
artifact = fetch' { inherit url hash; };
override = overrides.name or lib.id;
override = overrides.${name} or lib.id;
in
override artifact;