mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
lib/customisation: remove overrideScope'
Let's follow through on the comment.
This commit is contained in:
parent
f6cd55f50b
commit
af10dd2014
3 changed files with 2 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue