This commit is contained in:
mjallen18
2026-01-21 21:41:01 -06:00
parent a336b0cf60
commit 94c3d6d6ff
20 changed files with 61 additions and 59 deletions

View File

@@ -4,7 +4,7 @@
lib,
fetchurl,
fetchzip,
pkgs,
namespace,
# Repo metadata
owner ? "CachyOS",
repo ? "proton-cachyos",
@@ -22,10 +22,9 @@
}:
let
inherit (lib.trivial) importJSON;
inherit (lib.${namespace}) versioning;
# Load unified version spec and select the desired variant
versionSpec = importJSON ./version.json;
versioning = import ../../lib/versioning.nix { inherit lib pkgs; };
selected = versioning.selectVariant versionSpec variant null;
vars = selected.variables or {};
base = vars.base;