diff --git a/prqlc/packages/snap/snapcraft.yaml b/prqlc/packages/snap/snapcraft.yaml index b5466a837b05..56a29d81c67c 100644 --- a/prqlc/packages/snap/snapcraft.yaml +++ b/prqlc/packages/snap/snapcraft.yaml @@ -19,9 +19,14 @@ icon: web/website/static/img/icon.svg parts: rust-deps: plugin: nil + # `--default-toolchain none` (not just omitting the flag — that would + # install `stable`): the `prqlc` part builds from the source tree, where + # `rust-toolchain.toml` overrides whatever default we set here. Pinning one + # only downloads a second, unused toolchain — and reads as an MSRV + # guarantee the build never actually makes. override-pull: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - --profile minimal --default-toolchain 1.75.0 + --profile minimal --default-toolchain none prqlc: plugin: rust after: [rust-deps]