mirror of
https://codeberg.org/spire/dispenser.git
synced 2026-06-03 10:04:07 +02:00
use newer rust for nix package
This commit is contained in:
parent
715be91a73
commit
131071dbd2
2 changed files with 7 additions and 1 deletions
|
|
@ -27,6 +27,7 @@
|
|||
};
|
||||
hostTarget = pkgs.hostPlatform.config;
|
||||
targets = ["x86_64-unknown-linux-musl" hostTarget];
|
||||
|
||||
naerskForTarget = target: let
|
||||
toolchain = pkgs.rust-bin.stable.latest.default.override {targets = [target];};
|
||||
in
|
||||
|
|
|
|||
|
|
@ -1,11 +1,16 @@
|
|||
{
|
||||
stdenv,
|
||||
rustPlatform,
|
||||
makeRustPlatform,
|
||||
libsodium,
|
||||
pkg-config,
|
||||
lib,
|
||||
rust-bin,
|
||||
}: let
|
||||
inherit (lib.sources) sourceByRegex;
|
||||
rustPlatform = makeRustPlatform {
|
||||
cargo = rust-bin.stable.latest.minimal;
|
||||
rustc = rust-bin.stable.latest.minimal;
|
||||
};
|
||||
src = sourceByRegex ./. ["Cargo.*" "(src)(/.*)?"];
|
||||
in
|
||||
rustPlatform.buildRustPackage rec {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue