From f0c7fbcdab5006db46c73c642bea7c5de396fe3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20marti?= Date: Tue, 22 Jul 2025 17:39:29 +0200 Subject: [PATCH] Add /etc/ssl/certs/ca-certificates.crt in docker.nix --- docker.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker.nix b/docker.nix index 410e4a178..defd491f6 100644 --- a/docker.nix +++ b/docker.nix @@ -282,7 +282,10 @@ let # may get replaced by pkgs.dockerTools.caCertificates mkdir -p $out/etc/ssl/certs + # Old NixOS compatibility. ln -s /nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt $out/etc/ssl/certs + # NixOS canonical location + ln -s /nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt $out/etc/ssl/certs/ca-certificates.crt cat $passwdContentsPath > $out/etc/passwd echo "" >> $out/etc/passwd