mirror of
https://codeberg.org/spire/nix.git
synced 2026-06-03 09:54:19 +02:00
A set of tf2 related nix packages
- Nix 100%
| .github/workflows | ||
| pkgs | ||
| .envrc | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
Spire nix packages
A set of tf2 related nix packages
Packages
The following is currently packaged:
ambuildsourcepawnmetamod-sourcesourcemod
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;};};
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.