mirror of
https://github.com/NotAShelf/microfetch.git
synced 2026-05-08 00:05:07 +00:00
nix: get Rust 1.95.0 from rust-overlay
Some checks failed
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on armv7-unknown-linux-gnueabihf (push) Has been cancelled
Rust / Test on i686-unknown-linux-gnu (push) Has been cancelled
Rust / Test on loongarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on powerpc-unknown-linux-gnu (push) Has been cancelled
Rust / Test on powerpc64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on powerpc64le-unknown-linux-gnu (push) Has been cancelled
Rust / Test on riscv64gc-unknown-linux-gnu (push) Has been cancelled
Rust / Test on s390x-unknown-linux-gnu (push) Has been cancelled
Rust / Test on sparc64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on mips-unknown-linux-gnu (push) Has been cancelled
Rust / Test on mips64-unknown-linux-gnuabi64 (push) Has been cancelled
Rust / Test on riscv32gc-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
Some checks failed
Rust / Test on aarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on armv7-unknown-linux-gnueabihf (push) Has been cancelled
Rust / Test on i686-unknown-linux-gnu (push) Has been cancelled
Rust / Test on loongarch64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on powerpc-unknown-linux-gnu (push) Has been cancelled
Rust / Test on powerpc64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on powerpc64le-unknown-linux-gnu (push) Has been cancelled
Rust / Test on riscv64gc-unknown-linux-gnu (push) Has been cancelled
Rust / Test on s390x-unknown-linux-gnu (push) Has been cancelled
Rust / Test on sparc64-unknown-linux-gnu (push) Has been cancelled
Rust / Test on mips-unknown-linux-gnu (push) Has been cancelled
Rust / Test on mips64-unknown-linux-gnuabi64 (push) Has been cancelled
Rust / Test on riscv32gc-unknown-linux-gnu (push) Has been cancelled
Rust / Test on x86_64-unknown-linux-gnu (push) Has been cancelled
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: If01588c5e4399ee19bb17485f65a741b6a6a6964
This commit is contained in:
parent
6c7bc1bee2
commit
eac4882733
3 changed files with 47 additions and 13 deletions
|
|
@ -1,13 +1,20 @@
|
|||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
makeRustPlatform,
|
||||
rust-bin,
|
||||
llvm,
|
||||
}: let
|
||||
pname = "microfetch";
|
||||
toml = (lib.importTOML ../Cargo.toml).workspace.package;
|
||||
inherit (toml) version;
|
||||
|
||||
toolchain = rust-bin.stable.latest;
|
||||
rustWithToolchain = makeRustPlatform {
|
||||
cargo = toolchain.minimal;
|
||||
rustc = toolchain.minimal;
|
||||
};
|
||||
in
|
||||
rustPlatform.buildRustPackage.override {inherit (llvm) stdenv;} {
|
||||
rustWithToolchain.buildRustPackage.override {inherit (llvm) stdenv;} {
|
||||
inherit pname version;
|
||||
src = let
|
||||
fs = lib.fileset;
|
||||
|
|
@ -16,9 +23,9 @@ in
|
|||
fs.toSource {
|
||||
root = s;
|
||||
fileset = fs.unions [
|
||||
(s + /.cargo)
|
||||
(s + /crates)
|
||||
(s + /microfetch)
|
||||
(s + /.cargo)
|
||||
(s + /scripts/ld-wrapper)
|
||||
(s + /Cargo.lock)
|
||||
(s + /Cargo.toml)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue