-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
35 lines (33 loc) · 1.18 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
description = "Overlay for closed source / decompiled games";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
utils.url = "flake-utils";
};
outputs = { nixpkgs, utils, ... }:
let
pkgs = pkgs:
let
callPackage = pkgs.lib.callPackageWith pkgs;
in
rec {
games.pokecrystal = callPackage (./pret/crystal.nix) { };
games.pokered = callPackage (./pret/red.nix) { };
games.shipwright = callPackage (./soh) { };
games.zelda3 = callPackage (./zelda3) { };
games.pokeemerald = callPackage (./pret/emerald.nix) { agbcc = games.agbcc; };
games.pokeinclement = callPackage (./pret/inclement.nix) { agbcc = games.agbcc; };
games.pokefirered = callPackage (./pret/firered.nix) { agbcc = games.agbcc; };
games.pokegold = callPackage (./pret/gold.nix) { };
games.pokeyellow = callPackage (./pret/yellow.nix) { };
games.agbcc = callPackage (./pret/agbcc.nix) { };
};
in
utils.lib.eachDefaultSystem
(system: {
packages = pkgs nixpkgs.legacyPackages.${system};
})
// {
overlays.default = final: prev: pkgs prev;
};
}