7b87554ca1
In 0c7c1660f7
I have set allowSubstitutes
to false, which avoided the substitution of the certificates.
Unfortunately substitution may still happen later when the certificate
is merged with the CA bundle. So the merged CA bundle might be
substituted from a binary cache but the certificate itself is built
locally, which could result in a different certificate in the bundle.
So instead of adding just yet another workaround, I've now hardcoded all
the certificates and keys in a separate file. This also moves
letsencrypt.nix into its own directory so we don't mess up
nixos/tests/common too much.
This was long overdue and should finally make the dependency graph for
the ACME test more deterministic.
Signed-off-by: aszlig <aszlig@nix.build>
6 lines
174 B
Bash
Executable file
6 lines
174 B
Bash
Executable file
#!/usr/bin/env nix-shell
|
|
#!nix-shell -p nix bash -i bash
|
|
set -e
|
|
cd "$(dirname "$0")"
|
|
storepath="$(nix-build --no-out-link mkcerts.nix)"
|
|
cat "$storepath" > snakeoil-certs.nix
|