lol

perl: allow building without libcrypt

+2
+2
pkgs/development/interpreters/perl/default.nix
··· 1 1 { config, lib, stdenv, fetchurl, fetchFromGitHub, pkgs, buildPackages 2 2 , callPackage 3 3 , enableThreading ? true, coreutils, makeWrapper 4 + , enableCrypt ? true 4 5 , zlib 5 6 }: 6 7 ··· 82 83 ++ optionals ((builtins.match ''5\.[0-9]*[13579]\..+'' version) != null) [ "-Dusedevel" "-Uversiononly" ] 83 84 ++ optional stdenv.isSunOS "-Dcc=gcc" 84 85 ++ optional enableThreading "-Dusethreads" 86 + ++ optional (!enableCrypt) "-A clear:d_crypt_r" 85 87 ++ optional stdenv.hostPlatform.isStatic "--all-static" 86 88 ++ optionals (!crossCompiling) [ 87 89 "-Dprefix=${placeholder "out"}"