mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
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,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