perl-packages: Set perlPackages attr in perlPackages scope

Adopt python's change from https://github.com/NixOS/nixpkgs/pull/61139
There is currently no bug to fix, it just makes the things more consistent and prevents hitting the bug in the future
This commit is contained in:
volth 2019-05-08 13:08:11 +00:00 committed by GitHub
parent 7261ffc18e
commit f95dbbce02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,7 @@ let
_self = with self; {
inherit perl;
perlPackages = self;
callPackage = pkgs.newScope self;