mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
factorio: migrate to by-name hierarchy
This commit is contained in:
parent
eae71219ea
commit
f68438a9bb
@ -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
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user