-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Describe the bug
docker.nix doesn't provide the CA certificate in /etc/ssl/certs/ca-certificates.crt
It only link the cacert in /etc/ssl/certs/ca-bundle.crt
Steps To Reproduce
docker pull nixos/nix
docker run -it --entrypoint sh nixos/nix:latest
nix-channel --update
nix-env -iA nixpkgs.aria2
aria2c https://github.com/NixOS/nixpkgs/archive/refs/tags/25.05.tar.gz
Failed to load trusted CA certificates from /etc/ssl/certs/ca-certificates.crt. Cause: Error while reading file.
ls /etc/ssl/certs
ca-bundle.crt
Expected behavior
The docker image should be compatible with nix packages that expect /etc/ssl/certs/ca-certificates.crt
Metadata
nix-env (Nix) 2.30.1
Additional context
Checklist
- [X ] checked latest Nix manual (source)
- [ X] checked open bug issues and pull requests for possible duplicates
Add 👍 to issues you find important.