blob: 1b8294c3ecc44e506487263acef1afac1905a08d (
plain)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
let f = self: with self; {
inherit (self) callPackage;
libfinite = callPackage ./bad/libfinite.nix {};
mysql_5_5 = pkgs.pkgsi686Linux.callPackage ./bad/mysql_5_5.nix {};
ambuild = callPackage ./ambuild.nix {
inherit (pkgs.python3Packages) buildPythonPackage;
};
hl2sdk-2013 = callPackage ./hl2sdk-2013.nix {};
metamod-source = callPackage ./metamod-source.nix {
hl2sdk = hl2sdk-2013;
};
sourcemod = callPackage ./sourcemod {
hl2sdk = hl2sdk-2013;
};
buildSMPlugin = callPackage ./build-sm-plugin.nix {};
# TODO: see if it even makes sense to abstract this hard
# buildSMExtension = callPackage ./build-sm-extension.nix {};
depotdownloader-json = callPackage ./depotdownloader-json {};
fetchDepotCache = callPackage ./fetchdepotcache.nix {
depotdownloader = depotdownloader-json;
};
fetchDepotFile = callPackage ./fetchdepotfile.nix {
depotdownloader = depotdownloader-json;
};
mkDepot = callPackage ./mkdepot.nix {};
SM-Memory = callPackage ./extensions/SM-Memory.nix {};
SM-neocurl-ext = callPackage ./extensions/SM-neocurl-ext.nix {};
Chat-Logger-Redux = callPackage ./plugins/Chat-Logger-Redux.nix {};
Open-Fortress-Tools = callPackage ./plugins/Open-Fortress-Tools.nix {};
SteamTools = callPackage ./plugins/SteamTools.nix {};
SteamWorks = callPackage ./plugins/SteamWorks.nix {};
Updater = callPackage ./plugins/Updater.nix {};
ftz_cheats = callPackage ./plugins/ftz_cheats.nix {};
morecolors = callPackage ./plugins/morecolors.nix {};
nativevotes-updated = callPackage ./plugins/nativevotes-updated.nix {};
openfrags = callPackage ./plugins/openfrags.nix {};
smlib = callPackage ./plugins/smlib.nix {};
socket = callPackage ./plugins/socket.nix {};
yuuko_votes = callPackage ./plugins/yuuko_votes.nix {};
}; in
{ lib
, newScope
, recurseIntoAttrs
, pkgs
}:
recurseIntoAttrs (lib.makeScope newScope (self: f self // { inherit pkgs; }))
|