From 2927f2a1d03b9880e23f80a56bff050256a87007 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 14 Jan 2023 16:08:39 +0800 Subject: [PATCH] msys2: adapt to recent pacman --- nix/windows/make_msys2_packages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/windows/make_msys2_packages.sh b/nix/windows/make_msys2_packages.sh index b0a45aa8d..62aa79f8b 100755 --- a/nix/windows/make_msys2_packages.sh +++ b/nix/windows/make_msys2_packages.sh @@ -7,7 +7,7 @@ MSYS2DIR=`pwd`/msys2 mkdir -p $MSYS2DIR/var/lib/pacman $MSYS2DIR/msys/etc curl -L https://mirror.msys2.org/msys/x86_64/pacman-mirrors-20220205-1-any.pkg.tar.zst | tar xvf - -C $MSYS2DIR --zstd -curl -L https://raw.githubusercontent.com/msys2/MSYS2-packages/master/pacman/pacman.conf | grep -v SigLevel | sed s\|/etc/pacman.d\|$MSYS2DIR/etc/pacman.d\|g > $MSYS2DIR/etc/pacman.conf +curl -L https://raw.githubusercontent.com/msys2/MSYS2-packages/master/pacman/pacman.conf | sed "s|SigLevel = Required|SigLevel = Never|g" | sed "s|/etc/pacman.d|$MSYS2DIR/etc/pacman.d|g" > $MSYS2DIR/etc/pacman.conf fakeroot pacman --root $MSYS2DIR --config $MSYS2DIR/etc/pacman.conf -Syy pacman --root $MSYS2DIR --config $MSYS2DIR/etc/pacman.conf --cachedir $MSYS2DIR/msys/cache -Sp mingw-w64-x86_64-rust mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja mingw-w64-x86_64-python3.10 mingw-w64-x86_64-python-numpy mingw-w64-x86_64-python-setuptools > $MSYS2DIR/packages.txt