perl: get perl in HOST_PATH for patch-shebangs
This commit is contained in:
parent
f0a4305e0a
commit
764c298111
@ -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 New Issue
Block a user