mirror of
https://codeberg.org/spire/nix.git
synced 2026-08-02 04:14:47 +02:00
move steam-depots attrset from package to toplevel
This commit is contained in:
parent
fe706dc5c0
commit
f27c721ba1
2 changed files with 2 additions and 2 deletions
|
|
@ -42,6 +42,7 @@
|
|||
sourcemods = pkgs.lib.mapAttrs (name: sdk: pkgs.sourcemod.override {sdks = {${name} = sdk;};}) pkgs.hl2sdk;
|
||||
metamods = pkgs.lib.mapAttrs (name: sdk: pkgs.metamod-source-builder {${name} = sdk;}) pkgs.hl2sdk;
|
||||
hl2sdk = pkgs.hl2sdk;
|
||||
steam-depots = pkgs.steam-depots;
|
||||
};
|
||||
|
||||
packages = inheritPkgs [
|
||||
|
|
@ -53,7 +54,6 @@
|
|||
"sourcemod-include-library"
|
||||
"sourcemod-include-steamworks"
|
||||
"srcds-tf2"
|
||||
"steam-depots"
|
||||
];
|
||||
|
||||
checks = {
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ def update_manifest_hash [manifest: record] {
|
|||
}
|
||||
|
||||
def get_manifest_hash [manifest: record] {
|
||||
nix build $".#steam-depots.steam-depot-($manifest.app_id)-($manifest.depot_id)" | complete | get 'stderr' | extract_hash
|
||||
nix build $".#steam-depots.x86_64-linux.steam-depot-($manifest.app_id)-($manifest.depot_id)" | complete | get 'stderr' | extract_hash
|
||||
}
|
||||
|
||||
def extract_hash [] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue