A set of tf2 related nix packages
Find a file
2023-11-10 23:11:31 +01:00
.github/workflows proper per-system sdks 2023-07-09 16:19:49 +02:00
pkgs add curl include 2023-11-10 23:11:31 +01:00
.envrc init 2023-07-08 17:23:51 +02:00
.gitignore init 2023-07-08 17:23:51 +02:00
flake.lock init 2023-07-08 17:23:51 +02:00
flake.nix package sourcemod-include-library 2023-07-09 18:38:44 +02:00
README.md package sourcemod-include-library 2023-07-09 18:38:44 +02:00

Spire nix packages

A set of tf2 related nix packages

Packages

The following is currently packaged:

Sourcemod SDKs

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;};};

Supported SDKs

i686-linux

episode1, ep2, css, hl2dm, dods, sdk2013, tf2, l4d, l4d2, nucleardawn, csgo, insurgency, bms and doi

x86_64-linux

csgo and blade

Building sourcepawn script

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]