nushell: disable fetch plugin on systems without ring
This commit is contained in:
parent
81e0103b38
commit
dc1da1426d
|
@ -27,6 +27,14 @@ post_patch() {
|
|||
echo '[patch.crates-io.decimal]' >> Cargo.toml
|
||||
echo 'git = "https://github.com/alkis/decimal"' >> Cargo.toml
|
||||
echo 'rev = "c27d9a165afc55ec98fb4db79b12841df578387e"' >> Cargo.toml
|
||||
|
||||
# the fetch plugin pulls in ring
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64*|i686*|aarch64*|arm*) ;;
|
||||
*)
|
||||
vsed -i 's/"fetch",//' Cargo.toml
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Reference in New Issue