nixos: revert changes from 3ab45f4b36 in taskserver module

See 3ab45f4b36 (commitcomment-22029298).

Fixes https://github.com/NixOS/nixpkgs/issues/25529 (I hope).
This commit is contained in:
Peter Simons 2017-05-06 19:50:02 +02:00
parent 22cffa0716
commit 71ae259627

View file

@ -128,7 +128,7 @@ let
certBits = cfg.pki.auto.bits; certBits = cfg.pki.auto.bits;
clientExpiration = cfg.pki.auto.expiration.client; clientExpiration = cfg.pki.auto.expiration.client;
crlExpiration = cfg.pki.auto.expiration.crl; crlExpiration = cfg.pki.auto.expiration.crl;
isAutoConfig = boolToString needToCreateCA; isAutoConfig = if needToCreateCA then "True" else "False";
}}" > "$out/main.py" }}" > "$out/main.py"
cat > "$out/setup.py" <<EOF cat > "$out/setup.py" <<EOF
from setuptools import setup from setuptools import setup