Skip to content

Instantly share code, notes, and snippets.

@wezm
Created March 21, 2024 22:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wezm/036c45984bb7a806e2af5db7c6134b41 to your computer and use it in GitHub Desktop.
Save wezm/036c45984bb7a806e2af5db7c6134b41 to your computer and use it in GitHub Desktop.
diff --git a/PKGBUILD b/PKGBUILD
index 6ffb3c3..23484de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,13 +17,13 @@ sha256sums=('SKIP')
prepare() {
cd Switcheroo
export CARGO_HOME="$srcdir/CARGO_HOME"
- export RUSTUP_TOOLCHAIN=nightly
+ export RUSTUP_TOOLCHAIN=stable
cargo fetch --target "$CARCH-unknown-linux-gnu"
}
build() {
export CARGO_HOME="$srcdir/CARGO_HOME"
- export RUSTUP_TOOLCHAIN=nightly
+ export RUSTUP_TOOLCHAIN=stable
arch-meson Switcheroo build
meson compile -C build
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment