Use crane to set RUSTUP_TOOLCHAIN
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
d2d39773c2
commit
dd7142647f
2 changed files with 2 additions and 1 deletions
|
|
@ -36,6 +36,7 @@
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
packages = lib // {
|
packages = lib // {
|
||||||
|
inherit craneLib;
|
||||||
rust = rustTarget;
|
rust = rustTarget;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ craneLib.buildPackage {
|
||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
|
|
||||||
RUSTUP_TOOLCHAIN = "nightly-2025-02-28";
|
RUSTUP_TOOLCHAIN = craneLib.rustc.version;
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue