mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-14 17:50:13 +00:00
Compare commits
3 commits
b83109b65a
...
b8b98e7fd0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b8b98e7fd0 | ||
|
|
4ba5b785e5 | ||
|
|
4c940fa925 |
4 changed files with 5 additions and 7 deletions
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
!Cargo.toml
|
||||
!Cargo.lock
|
||||
!rust-toolchain.toml
|
||||
!PluralKit.sln
|
||||
!nuget.config
|
||||
!ci/dotnet-version.sh
|
||||
|
|
|
|||
|
|
@ -4,8 +4,7 @@ WORKDIR /build
|
|||
|
||||
RUN apk add rustup build-base
|
||||
# todo: arm64 target
|
||||
COPY rust-toolchain.toml .
|
||||
RUN rustup-init --no-update-default-toolchain -y
|
||||
RUN rustup-init --default-host x86_64-unknown-linux-musl --default-toolchain nightly-2025-08-22 --profile default -y
|
||||
|
||||
ENV PATH=/root/.cargo/bin:$PATH
|
||||
ENV RUSTFLAGS='-C link-arg=-s'
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@
|
|||
gcc
|
||||
omnisharp-roslyn
|
||||
bashInteractive
|
||||
rust-analyzer
|
||||
];
|
||||
runScript = cmd;
|
||||
};
|
||||
|
|
@ -72,7 +73,9 @@
|
|||
programs.nixfmt.enable = true;
|
||||
};
|
||||
|
||||
nci.toolchainConfig = ./rust-toolchain.toml;
|
||||
nci.toolchainConfig = {
|
||||
channel = "nightly";
|
||||
};
|
||||
nci.projects."pluralkit-services" = {
|
||||
path = ./.;
|
||||
export = false;
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
[toolchain]
|
||||
channel = "nightly-2025-08-22"
|
||||
components = ["rust-src", "rustfmt", "rust-analyzer"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue