···1{ config, lib, stdenv, fetchurl, fetchFromGitHub, pkgs, buildPackages
2, callPackage
3, enableThreading ? true, coreutils, makeWrapper
4-, enableCrypt ? true
5, zlib
6}:
0078# Note: this package is used for bootstrapping fetchurl, and thus
9# cannot use fetchpatch! All mutable patches (generated by GitHub or
···33 outputs = [ "out" "man" "devdoc" ] ++
34 optional crossCompiling "mini";
35 setOutputFlags = false;
003637 disallowedReferences = [ stdenv.cc ];
38
···1{ config, lib, stdenv, fetchurl, fetchFromGitHub, pkgs, buildPackages
2, callPackage
3, enableThreading ? true, coreutils, makeWrapper
4+, enableCrypt ? true, libxcrypt ? null
5, zlib
6}:
7+8+assert (enableCrypt -> (libxcrypt != null));
910# Note: this package is used for bootstrapping fetchurl, and thus
11# cannot use fetchpatch! All mutable patches (generated by GitHub or
···35 outputs = [ "out" "man" "devdoc" ] ++
36 optional crossCompiling "mini";
37 setOutputFlags = false;
38+39+ propagatedBuildInputs = lib.optional enableCrypt libxcrypt;
4041 disallowedReferences = [ stdenv.cc ];
42
+1-1
pkgs/stdenv/linux/default.nix
···221 # This is not an issue for the final stdenv, because this perl
222 # won't be included in the final stdenv and won't be exported to
223 # top-level pkgs as an override either.
224- perl = super.perl.override { enableThreading = false; };
225 };
226 })
227
···221 # This is not an issue for the final stdenv, because this perl
222 # won't be included in the final stdenv and won't be exported to
223 # top-level pkgs as an override either.
224+ perl = super.perl.override { enableThreading = false; enableCrypt = false; };
225 };
226 })
227