cacert: remove broken includeEmail option
This doesn't do anything. Building with includeEmail = true produces the same set as includeEmail = false, and the substitute rule removes a random dictionary index operation.
This commit is contained in:
parent
b1f9e9c259
commit
b28436a7e9
@ -1,6 +1,5 @@
|
|||||||
{ stdenv, fetchurl, nss, python3
|
{ stdenv, fetchurl, nss, python3
|
||||||
, blacklist ? []
|
, blacklist ? []
|
||||||
, includeEmail ? false
|
|
||||||
|
|
||||||
# Used for tests only
|
# Used for tests only
|
||||||
, runCommand
|
, runCommand
|
||||||
@ -42,10 +41,6 @@ stdenv.mkDerivation {
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat ${certdata2pem} > certdata2pem.py
|
cat ${certdata2pem} > certdata2pem.py
|
||||||
${optionalString includeEmail ''
|
|
||||||
# Disable CAs used for mail signing
|
|
||||||
substituteInPlace certdata2pem.py --replace \[\'CKA_TRUST_EMAIL_PROTECTION\'\] '''
|
|
||||||
''}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user