perlPackages: scope fetchFromGitHub

Fix nixpkgs eval after #70143
This commit is contained in:
c0bw3b 2019-11-08 00:22:51 +01:00
parent 5e955e3ec4
commit c87ff3013b

View file

@ -5,7 +5,7 @@
for each package in a separate file: the call to the function would for each package in a separate file: the call to the function would
be almost as much code as the function itself. */ be almost as much code as the function itself. */
{config, pkgs, fetchurl, fetchpatch, stdenv, perl, overrides, buildPerl, shortenPerlShebang}: {config, pkgs, fetchurl, fetchpatch, fetchFromGitHub, stdenv, perl, overrides, buildPerl, shortenPerlShebang}:
# cpan2nix assumes that perl-packages.nix will be used only with perl 5.28.2 or above # cpan2nix assumes that perl-packages.nix will be used only with perl 5.28.2 or above
assert stdenv.lib.versionAtLeast perl.version "5.28.2"; assert stdenv.lib.versionAtLeast perl.version "5.28.2";