diff options
Diffstat (limited to 'nixpkgs/pkgs/development/interpreters/perl/interpreter.nix')
-rw-r--r-- | nixpkgs/pkgs/development/interpreters/perl/interpreter.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/development/interpreters/perl/interpreter.nix b/nixpkgs/pkgs/development/interpreters/perl/interpreter.nix index 95ddc5a543cf..ff95ac83a301 100644 --- a/nixpkgs/pkgs/development/interpreters/perl/interpreter.nix +++ b/nixpkgs/pkgs/development/interpreters/perl/interpreter.nix @@ -115,6 +115,11 @@ stdenv.mkDerivation (rec { "-Dprefix=${placeholder "out"}" "-Dman1dir=${placeholder "out"}/share/man/man1" "-Dman3dir=${placeholder "out"}/share/man/man3" + ] + ++ lib.optionals (stdenv.isFreeBSD && crossCompiling && enableCrypt) [ + # https://github.com/Perl/perl5/issues/22295 + # configure cannot figure out that we have crypt automatically, but we really do + "-Dd_crypt" ]; configureScript = lib.optionalString (!crossCompiling) "${stdenv.shell} ./Configure"; @@ -228,7 +233,7 @@ stdenv.mkDerivation (rec { meta = with lib; { homepage = "https://www.perl.org/"; - description = "The standard implementation of the Perl 5 programming language"; + description = "Standard implementation of the Perl 5 programming language"; license = licenses.artistic1; maintainers = [ maintainers.eelco ]; platforms = platforms.all; |