Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all-packages.nix: Alias self to res, deprecating self #51401

Merged
merged 1 commit into from Dec 3, 2018

Commits on Dec 2, 2018

  1. all-packages.nix: Alias self to res, deprecating self

    For historical reasons, self was ill-named. This removes its usages
    from all-packages.nix and provides a deprecation message for those
    who use a patched Nixpkgs.
    
    Some packages seem to depend on the peculiarities of res, as can
    be seen by making res into an alias of pkgs (normally "self").
    The super variable doesn't have all that is needed.
    
    Therefore the simple fix is not guaranteed to work and as such,
    usages of res need to be changed to pkgs or super, case by case.
    roberth committed Dec 2, 2018
    Copy the full SHA
    22aac3b View commit details
    Browse the repository at this point in the history