Merge pull request #61631 from worldofpeace/fix-perl

perl: get perl in HOST_PATH for patch-shebangs
This commit is contained in:
Matthew Bauer 2019-05-28 14:20:52 -04:00 committed by GitHub
commit c441858b48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
{ lib, stdenv, perl, buildPerl, toPerlModule }:
{ nativeBuildInputs ? [], name, ... } @ attrs:
{ buildInputs ? [], nativeBuildInputs ? [], name, ... } @ attrs:
toPerlModule(stdenv.mkDerivation (
(
@ -36,6 +36,7 @@ toPerlModule(stdenv.mkDerivation (
{
name = "perl${perl.version}-${name}";
builder = ./builder.sh;
buildInputs = buildInputs ++ [ perl ];
nativeBuildInputs = nativeBuildInputs ++ [ (perl.dev or perl) ];
fullperl = buildPerl;
}