mercurial: add CA cert to test env for libgit
This seems to be required for the tests to pass on Hydra. Otherwise, the test suit fails with errors like: ``` feature pygit2 failed: OpenSSL error: failed to load certificates: error:00000000:lib(0):func(0):reason(0) ```
This commit is contained in:
parent
e929791228
commit
a8ef60565a
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
||||||
, which
|
, which
|
||||||
, sqlite
|
, sqlite
|
||||||
, git
|
, git
|
||||||
|
, cacert
|
||||||
, gnupg
|
, gnupg
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -70,6 +71,7 @@ let
|
||||||
git
|
git
|
||||||
gnupg
|
gnupg
|
||||||
];
|
];
|
||||||
|
SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt"; # needed for git
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
cat << EOF > tests/blacklists/nix
|
cat << EOF > tests/blacklists/nix
|
||||||
# tests enforcing "/usr/bin/env" shebangs, which are patched for nix
|
# tests enforcing "/usr/bin/env" shebangs, which are patched for nix
|
||||||
|
|
Loading…
Reference in a new issue