nushell: disable fetch plugin on systems without ring
This commit is contained in:
parent
81e0103b38
commit
dc1da1426d
1 changed files with 8 additions and 0 deletions
|
@ -27,6 +27,14 @@ post_patch() {
|
||||||
echo '[patch.crates-io.decimal]' >> Cargo.toml
|
echo '[patch.crates-io.decimal]' >> Cargo.toml
|
||||||
echo 'git = "https://github.com/alkis/decimal"' >> Cargo.toml
|
echo 'git = "https://github.com/alkis/decimal"' >> Cargo.toml
|
||||||
echo 'rev = "c27d9a165afc55ec98fb4db79b12841df578387e"' >> 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() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue