Skip to content

Commit

Permalink
perlPackages.FileBaseDir: fix cross-compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
ck3d committed Apr 8, 2023
1 parent ad5be9c commit 8795962
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 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

0 comments on commit 8795962

Please sign in to comment.