mirror of
https://codeberg.org/spire/nix.git
synced 2026-08-02 12:25:00 +02:00
add withConfig for srcds
This commit is contained in:
parent
55e6432f05
commit
1d9037fc6c
3 changed files with 50 additions and 12 deletions
27
flake.nix
27
flake.nix
|
|
@ -45,16 +45,23 @@
|
|||
steam-depots = pkgs.steam-depots;
|
||||
};
|
||||
|
||||
packages = inheritPkgs [
|
||||
"ambuild"
|
||||
"sourcepawn"
|
||||
"sourcemod"
|
||||
"sourcemod-includes"
|
||||
"sourcemod-include-curl"
|
||||
"sourcemod-include-library"
|
||||
"sourcemod-include-steamworks"
|
||||
"srcds-tf2"
|
||||
];
|
||||
packages =
|
||||
inheritPkgs [
|
||||
"ambuild"
|
||||
"sourcepawn"
|
||||
"sourcemod"
|
||||
"sourcemod-includes"
|
||||
"sourcemod-include-curl"
|
||||
"sourcemod-include-library"
|
||||
"sourcemod-include-steamworks"
|
||||
"srcds-tf2"
|
||||
]
|
||||
// {
|
||||
test = pkgs:
|
||||
pkgs.srcds-tf2.withConfig {
|
||||
hostname = "Spire Server";
|
||||
};
|
||||
};
|
||||
|
||||
checks = {
|
||||
buildTestScript = {pkgs, ...}:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue