Moved to https://codeberg.org/spire/nix
A set of tf2 related nix packages
The following is currently packaged:
ambuildsourcepawnmetamod-sourcesourcemodsourcemod-include-library
For the sourcemod package, you need to enable one or more SDKs at build time.
The SDKs are packaged under the hl2sdk package and can be enabled like in the following example.
pkgs.sourcemod.override {sdks = {inherit (pkgs.hl2sdk) tf2;};};episode1, ep2, css, hl2dm, dods, sdk2013, tf2, l4d, l4d2, nucleardawn, csgo, insurgency, bms and doi
csgo and blade
buildSourcePawnScript {
name = "test";
src = ./test.sp;
};By default, the sourcemod includes are available.
Additional includes can be added by setting the includes argument to an array of packages containing an include folder containing the .inc files.
A helper is provided to create include packages:
sourcepawn.buildInclude [./cURL.inc ./cURL_header.inc]