mirror of
https://github.com/perstarkse/minne.git
synced 2026-07-11 07:12:50 +02:00
release: 1.0.3
fix: load ort-version via bash script on all release runners, toolchain harmonization
This commit is contained in:
+8
-5
@@ -7,10 +7,12 @@
|
||||
}:
|
||||
let
|
||||
ortVersion = lib.removeSuffix "\n" (builtins.readFile "${toString ./.}/ort-version");
|
||||
in
|
||||
lib.assertMsg (pkgs.onnxruntime.version == ortVersion)
|
||||
"pkgs.onnxruntime.version (${pkgs.onnxruntime.version}) must match ort-version (${ortVersion})"
|
||||
{
|
||||
_ortVersionCheck =
|
||||
if pkgs.onnxruntime.version == ortVersion
|
||||
then null
|
||||
else
|
||||
throw "pkgs.onnxruntime.version (${pkgs.onnxruntime.version}) must match ort-version (${ortVersion})";
|
||||
in {
|
||||
cachix.enable = false;
|
||||
|
||||
packages = [
|
||||
@@ -28,8 +30,9 @@ lib.assertMsg (pkgs.onnxruntime.version == ortVersion)
|
||||
|
||||
languages.rust = {
|
||||
enable = true;
|
||||
channel = "stable";
|
||||
version = "1.91.1";
|
||||
components = ["rustc" "clippy" "rustfmt" "cargo" "rust-analyzer"];
|
||||
channel = "nightly";
|
||||
targets = ["x86_64-unknown-linux-gnu" "x86_64-pc-windows-msvc"];
|
||||
mold.enable = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user