Merge pull request #133135 from hercules-ci/top-level-remove-self

top-level/all-packages.nix: Remove self
This commit is contained in:
Robert Hensing 2021-08-08 15:06:35 +02:00 committed by GitHub
commit c481b497d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,19 +10,6 @@ res: pkgs: super:
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,