diff options
author | Robert Schütz <rschuetz17@gmail.com> | 2018-08-05 01:17:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-05 01:17:38 +0200 |
commit | 221583478973b4de74f14d1063a314aac337daaa (patch) | |
tree | f1378ce9aeb4a9a7cef982f9321b7dd48c55c1dd /nixos/tests | |
parent | 544f1d471a6e51310e9b88e936f36191927683fe (diff) |
simp_le: use python3Packages (#44476)
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/acme.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/tests/acme.nix b/nixos/tests/acme.nix index 6d728b387e14..c7fd4910e072 100644 --- a/nixos/tests/acme.nix +++ b/nixos/tests/acme.nix @@ -12,7 +12,9 @@ let ''; }); - pythonPackages = (super.python.override { + # Override certifi so that it accepts fake certificate for Let's Encrypt + # Need to override the attribute used by simp_le, which is python3Packages + python3Packages = (super.python3.override { packageOverrides = lib.const (pysuper: { certifi = pysuper.certifi.overridePythonAttrs (attrs: { postPatch = (attrs.postPatch or "") + '' |