Admins will be upgrading ORNL GitLab Servers on Saturday, 16 May 2026, from 7 AM until 11 AM EST. Repositories will experience intermittent outages during this time.
elsethrow"applyPatches: please supply a `name` argument because a default name can only be computed when the `src` is a path or is an attribute set with a `name` attribute."
)+"-patched"
,patches?[]
,prePatch?""
,postPatch?""
,...
}@args:
ifpatches==[]&&postPatch==""
ifpatches==[]&&prePatch==""&&postPatch==""
thensrc# nothing to do, so use original src to avoid additional drv
elsestdenvNoCC.mkDerivation
{
inheritnamesrcpatchespostPatch;
({
inheritnamesrcpatchesprePatchpostPatch;
preferLocalBuild=true;
allowSubstitutes=false;
phases="unpackPhase patchPhase installPhase";
@@ -919,7 +920,7 @@ rec {
}
# Carry `meta` information from the underlying `src` if present.