mirror of https://github.com/astral-sh/uv
bootstrap: add 'libxcrypt-compat' to pacman install command (#1137)
This is apparently necessary to permit Python 3.8.12 to run. Namely, it needs to link to libcrypt.so.1, and without libxcrypt-compat, that linking step fails.
This commit is contained in:
parent
a2ef2010d2
commit
61e03e3655
|
|
@ -10,12 +10,12 @@
|
||||||
# brew install zstd jq coreutils
|
# brew install zstd jq coreutils
|
||||||
#
|
#
|
||||||
# Ubuntu
|
# Ubuntu
|
||||||
#
|
#
|
||||||
# apt install zstd jq
|
# apt install zstd jq
|
||||||
#
|
#
|
||||||
# Arch Linux
|
# Arch Linux
|
||||||
#
|
#
|
||||||
# pacman -S zstd jq
|
# pacman -S zstd jq libxcrypt-compat
|
||||||
#
|
#
|
||||||
# Windows
|
# Windows
|
||||||
#
|
#
|
||||||
|
|
@ -72,7 +72,7 @@ for version in "${versions[@]}"; do
|
||||||
echo "Installing $key"
|
echo "Installing $key"
|
||||||
|
|
||||||
url=$(jq --arg key "$key" '.[$key] | .url' -r < "$versions_metadata")
|
url=$(jq --arg key "$key" '.[$key] | .url' -r < "$versions_metadata")
|
||||||
|
|
||||||
if [ "$url" == 'null' ]; then
|
if [ "$url" == 'null' ]; then
|
||||||
echo "No matching download for $key"
|
echo "No matching download for $key"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
@ -96,7 +96,7 @@ for version in "${versions[@]}"; do
|
||||||
echo "Extracting to $($realpath --relative-to="$root_dir" "$install_key")"
|
echo "Extracting to $($realpath --relative-to="$root_dir" "$install_key")"
|
||||||
mkdir -p "$install_key"
|
mkdir -p "$install_key"
|
||||||
zstd -d "$this_dir/$filename" --stdout | tar -x -C "$install_key"
|
zstd -d "$this_dir/$filename" --stdout | tar -x -C "$install_key"
|
||||||
|
|
||||||
# Setup the installation
|
# Setup the installation
|
||||||
mv "$install_key/python/"* "$install_key"
|
mv "$install_key/python/"* "$install_key"
|
||||||
# Use relative paths for links so if the bin is moved they don't break
|
# Use relative paths for links so if the bin is moved they don't break
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue