chore: rename env variables back to non-_ versions

for testing, CI template still needs adjustments
This commit is contained in:
technofab 2025-03-04 14:29:22 +01:00
parent 060d8fad47
commit a63376edf1
2 changed files with 11 additions and 11 deletions

View file

@ -25,7 +25,7 @@
};
configType = subType {
nix-jobs-per-default = mkOption {
nix-jobs-by-default = mkOption {
type = types.bool;
default = true;
description = "Handle jobs nix-based by default or via opt-in (in a job set nix.enable = true) if false";
@ -73,7 +73,7 @@
};
image = mkOption {
type = types.str;
default = "$_NIX_CI_IMAGE";
default = "$NIX_CI_IMAGE";
};
after_script = mkNullOption (types.listOf types.str);
allow_failure = mkNullOption (types.either types.attrs types.bool);
@ -258,7 +258,7 @@
variables =
(filterJobVariables false job)
// lib.optionalAttrs job.nix.enable-runner-cache {
_NIX_CI_CACHE_STRATEGY = "runner";
NIX_CI_CACHE_STRATEGY = "runner";
};
cache =
(