top-level/all-packages.nix: Remove self
It has been deprecated for five releases; over two years. Technically it's even an internal variable, but we've allowed forks to migrate.
This commit is contained in:
parent
9b06d00d8b
commit
faab2fda34
|
@ -10,19 +10,6 @@ res: pkgs: super:
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
|
||||||
let
|
|
||||||
self =
|
|
||||||
builtins.trace ''
|
|
||||||
It seems that you are using a patched Nixpkgs that references the self
|
|
||||||
variable in pkgs/top-level/all-packages.nix. This variable was incorrectly
|
|
||||||
named, so its usage needs attention. Please use pkgs for packages or super
|
|
||||||
for functions.
|
|
||||||
''
|
|
||||||
res; # Do *NOT* use res in your fork. It will be removed.
|
|
||||||
|
|
||||||
# TODO: turn self into an error
|
|
||||||
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
|
|
||||||
# A stdenv capable of building 32-bit binaries. On x86_64-linux,
|
# A stdenv capable of building 32-bit binaries. On x86_64-linux,
|
||||||
|
|
Loading…
Reference in a new issue