Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
34 lines
1.1 KiB
Nix
34 lines
1.1 KiB
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib) options trivial types;
|
|
Release = import ./release.nix { inherit lib; };
|
|
in
|
|
options.mkOption {
|
|
description = "Redistributable manifest is an attribute set which includes a mapping from package name to release";
|
|
example = trivial.importJSON ../../../../cuda/manifests/redistrib_11.8.0.json;
|
|
type = types.submodule {
|
|
# Allow any attribute name as these will be the package names
|
|
freeformType = types.attrsOf Release.type;
|
|
options = {
|
|
release_date = options.mkOption {
|
|
description = "Release date of the manifest";
|
|
type = types.nullOr types.str;
|
|
default = null;
|
|
example = "2023-08-29";
|
|
};
|
|
release_label = options.mkOption {
|
|
description = "Release label of the manifest";
|
|
type = types.nullOr types.str;
|
|
default = null;
|
|
example = "12.2.2";
|
|
};
|
|
release_product = options.mkOption {
|
|
example = "cuda";
|
|
description = "Release product of the manifest";
|
|
type = types.nullOr types.str;
|
|
default = null;
|
|
};
|
|
};
|
|
};
|
|
}
|