lib/customisation: remove overrideScope'

Let's follow through on the comment.
This commit is contained in:
Wolfgang Walther 2024-11-17 11:17:01 +01:00
parent f6cd55f50b
commit af10dd2014
No known key found for this signature in database
GPG key ID: B39893FA5F65CAE1
3 changed files with 2 additions and 7 deletions

View file

@ -543,10 +543,6 @@ rec {
newScope = scope: newScope (self // scope);
callPackage = self.newScope {};
overrideScope = g: makeScope newScope (extends g f);
# Remove after 24.11 is released.
overrideScope' = g: warnIf (isInOldestRelease 2311)
"`overrideScope'` (from `lib.makeScope`) has been renamed to `overrideScope`."
(makeScope newScope (extends g f));
packages = f;
};
in self;