move steam-depots attrset from package to toplevel

This commit is contained in:
Robin Appelman 2026-07-09 00:36:24 +02:00
commit f27c721ba1
2 changed files with 2 additions and 2 deletions

View file

@ -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 = {

View file

@ -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 [] {