factorio: migrate to by-name hierarchy

This commit is contained in:
Luke Granger-Brown 2024-10-22 18:51:23 +01:00
parent eae71219ea
commit f68438a9bb
6 changed files with 5 additions and 5 deletions

View File

@ -55,9 +55,9 @@ SYSTEMS = [
RELEASE_TYPES = [
ReleaseType("alpha", needs_auth=True),
ReleaseType("expansion", needs_auth=True),
ReleaseType("demo"),
ReleaseType("headless"),
ReleaseType("expansion", needs_auth=True),
]
RELEASE_CHANNELS = [
@ -69,7 +69,7 @@ RELEASE_CHANNELS = [
def find_versions_json() -> str:
if FLAGS.out:
return FLAGS.out
try_paths = ["pkgs/games/factorio/versions.json", "versions.json"]
try_paths = ["pkgs/by-name/fa/factorio/versions.json", "versions.json"]
for path in try_paths:
if os.path.exists(path):
return path

View File

@ -34534,7 +34534,7 @@ with pkgs;
fltk = fltk-minimal;
};
factorio = callPackage ../games/factorio { releaseType = "alpha"; };
factorio = callPackage ../by-name/fa/factorio/package.nix { releaseType = "alpha"; };
factorio-experimental = factorio.override { releaseType = "alpha"; experimental = true; };
@ -34548,9 +34548,9 @@ with pkgs;
factorio-space-age-experimental = factorio.override { releaseType = "expansion"; experimental = true; };
factorio-mods = callPackage ../games/factorio/mods.nix { };
factorio-mods = callPackage ../by-name/fa/factorio/mods.nix { };
factorio-utils = callPackage ../games/factorio/utils.nix { };
factorio-utils = callPackage ../by-name/fa/factorio/utils.nix { };
fairymax = callPackage ../games/fairymax { };