···11{ config, lib, stdenv, fetchurl, fetchFromGitHub, pkgs, buildPackages
22, callPackage
33, enableThreading ? true, coreutils, makeWrapper
44-, enableCrypt ? true
44+, enableCrypt ? true, libxcrypt ? null
55, zlib
66}:
77+88+assert (enableCrypt -> (libxcrypt != null));
79810# Note: this package is used for bootstrapping fetchurl, and thus
911# cannot use fetchpatch! All mutable patches (generated by GitHub or
···3335 outputs = [ "out" "man" "devdoc" ] ++
3436 optional crossCompiling "mini";
3537 setOutputFlags = false;
3838+3939+ propagatedBuildInputs = lib.optional enableCrypt libxcrypt;
36403741 disallowedReferences = [ stdenv.cc ];
3842
+1-1
pkgs/stdenv/linux/default.nix
···221221 # This is not an issue for the final stdenv, because this perl
222222 # won't be included in the final stdenv and won't be exported to
223223 # top-level pkgs as an override either.
224224- perl = super.perl.override { enableThreading = false; };
224224+ perl = super.perl.override { enableThreading = false; enableCrypt = false; };
225225 };
226226 })
227227