On 2 February 2015 at 17:43, Eelco Dolstra <eelco.dols...@logicblox.com> wrote:
> A better way (not tested):
>
>   environment.etc."ssl/certs/ca-bundle.crt".source =
>     pkgs.runCommand "my-ca-bundle.crt" { }
>       ''
>         cat ${pkgs.cacert}/etc/ca-bundle.crt ${./my-certificate.crt} > $out
>       '';

That works! Thank you.

> An even better solution is for NixOS to switch from $SSL_CERT_FILE to
> $SSL_CERT_DIR so you can just add extra certificate files.

+1 (That's what I was initially hoping would work; I think it works
like that in e.g. Ubuntu.)

- Bjørn
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to