From 1002e0437a6081e37362edf073cee92858233331 Mon Sep 17 00:00:00 2001 From: Egor Savkin Date: Thu, 15 Aug 2024 18:35:54 +0800 Subject: [PATCH] msys2: fix afws client certs Co-authored-by: Egor Savkin Co-committed-by: Egor Savkin --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index e3bf448..3762e49 100644 --- a/flake.nix +++ b/flake.nix @@ -532,6 +532,10 @@ fakeroot pacman -U --asdeps --noconfirm --cachedir tmp/cache --config tmp/pacman.conf --root $out ${pkgs.lib.concatStringsSep " " (map (p: "${p}") artiq-deps-pkgs)} fakeroot pacman -U --noconfirm --cachedir tmp/cache --config tmp/pacman.conf --root $out ${msys2-artiq}/*.pkg.tar.zst ${msys2-artiq-comtools}/*.pkg.tar.zst ${msys2-pythonparser}/*.pkg.tar.zst ${msys2-sipyco}/*.pkg.tar.zst cp ${zadig-binary} $out/zadig.exe + mkdir -p $out/clang64/etc/ssl/certs + cp -f $out/usr/ssl/certs/ca-bundle.crt $out/clang64/etc/ssl/certs/ca-bundle.crt + cp -f $out/usr/ssl/cert.pem $out/clang64/etc/ssl/cert.pem + cp -f $out/usr/ssl/certs/ca-bundle.trust.crt $out/clang64/etc/ssl/certs/ca-bundle.trust.crt rm -rf $out/mingw64* $out/clang32* $out/clangarm64* $out/mingw32* $out/ucrt64* \ $out/var/lib/pacman/sync/mingw64* $out/var/lib/pacman/sync/clang32* $out/var/lib/pacman/sync/clangarm64* \ $out/var/lib/pacman/sync/mingw32* $out/var/lib/pacman/sync/ucrt64* \