Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perlPackages.ModuleBuild and .FileBaseDir: fix cross-compilation WIP #222427

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pkgs/top-level/perl-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9015,6 +9015,9 @@ let
url = "mirror://cpan/authors/id/K/KI/KIMRYAN/File-BaseDir-0.08.tar.gz";
hash = "sha256-wGX80+LyKudpk3vMlxuR+AKU1QCfrBQL+6g799NTBeM=";
};
nativeBuildInputs =
# Override default intepreter perl.mini, which do not support dynamic linking
lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) buildPackages.perl;
configurePhase = ''
runHook preConfigure
perl Build.PL PREFIX="$out" prefix="$out"
Expand Down Expand Up @@ -15233,6 +15236,9 @@ let
url = "mirror://cpan/authors/id/L/LE/LEONT/Module-Build-0.4231.tar.gz";
hash = "sha256-fg9MaSwXQMGshOoU1+o9i8eYsvsmwJh3Ip4E9DCytxc=";
};
nativeBuildInputs =
# Override default intepreter perl.mini, which do not support dynamic linking
lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) buildPackages.perl;
meta = {
description = "Build and install Perl modules";
license = with lib.licenses; [ artistic1 gpl1Plus ];
Expand Down