Merge pull request #61631 from worldofpeace/fix-perl
perl: get perl in HOST_PATH for patch-shebangs
This commit is contained in:
commit
c441858b48
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue