packages
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user