mirror of
https://github.com/perstarkse/minne.git
synced 2026-07-09 06:15:22 +02:00
refactor: harmonized nix ci alignment
This commit is contained in:
+2
-2
@@ -5,11 +5,11 @@
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
ortVersion = lib.removeSuffix "\n" (builtins.readFile "${toString ./.}/ort-version");
|
||||
ortVersion = "1.23.2";
|
||||
_ortVersionCheck =
|
||||
if pkgs.onnxruntime.version == ortVersion
|
||||
then null
|
||||
else throw "pkgs.onnxruntime.version (${pkgs.onnxruntime.version}) must match ort-version (${ortVersion})";
|
||||
else throw "pkgs.onnxruntime.version (${pkgs.onnxruntime.version}) must match ortVersion in flake.nix (${ortVersion})";
|
||||
in {
|
||||
devenv.warnOnNewVersion = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user