blob: dc2f20855550bedb5481fdffa8dff4dcd855d1f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
final: prev:
with prev; let
# directories are mapped to packages here for convenience sake
shouldUse = name: type: !(lib.hasPrefix "_" name) && type == "directory";
dir = lib.filterAttrs shouldUse (builtins.readDir ./.);
imported = lib.mapAttrs (name: _: callPackage ./${name} {}) dir;
in
imported
// {
klassy = libsForQt5.callPackage ./klassy {};
modrinth-app-unwrapped = callPackage ./modrinth-app {
inherit (final.nodePackages or prev.nodePackages) pnpm;
inherit ((final.darwin or prev.darwin).apple_sdk.frameworks) CoreServices Security WebKit;
};
modrinth-app = callPackage ./modrinth-app/wrapper.nix {
inherit (final) modrinth-app-unwrapped;
};
}
|