diff options
author | yuuko <yuuko@partyvan.io> | 2024-08-30 21:14:22 -0700 |
---|---|---|
committer | yuuko <yuuko@partyvan.io> | 2024-08-30 21:16:25 -0700 |
commit | 402758f0494c2e4826605b36a93bbbe703db9cbd (patch) | |
tree | 173be9f7fedd188c3167256b69ec90f0f9d9540f /srcds-pkgs/default.nix | |
parent | 56449e59d7aabd1c06fb67a51a1e129b55cb9270 (diff) |
add sourcemodWithPackages, fix plugin build
Diffstat (limited to 'srcds-pkgs/default.nix')
-rw-r--r-- | srcds-pkgs/default.nix | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/srcds-pkgs/default.nix b/srcds-pkgs/default.nix index 1b8294c..dc402a9 100644 --- a/srcds-pkgs/default.nix +++ b/srcds-pkgs/default.nix @@ -1,33 +1,35 @@ -let f = self: with self; { +let f = self: let inherit (self) callPackage; - +in { libfinite = callPackage ./bad/libfinite.nix {}; - mysql_5_5 = pkgs.pkgsi686Linux.callPackage ./bad/mysql_5_5.nix {}; + mysql_5_5 = self.pkgs.pkgsi686Linux.callPackage ./bad/mysql_5_5.nix {}; ambuild = callPackage ./ambuild.nix { - inherit (pkgs.python3Packages) buildPythonPackage; + inherit (self.pkgs.python3Packages) buildPythonPackage; }; hl2sdk-2013 = callPackage ./hl2sdk-2013.nix {}; metamod-source = callPackage ./metamod-source.nix { - hl2sdk = hl2sdk-2013; + hl2sdk = self.hl2sdk-2013; }; sourcemod = callPackage ./sourcemod { - hl2sdk = hl2sdk-2013; + hl2sdk = self.hl2sdk-2013; }; buildSMPlugin = callPackage ./build-sm-plugin.nix {}; # TODO: see if it even makes sense to abstract this hard # buildSMExtension = callPackage ./build-sm-extension.nix {}; + sourcemodWithPlugins = callPackage ./sourcemod/with-plugins.nix {}; + depotdownloader-json = callPackage ./depotdownloader-json {}; fetchDepotCache = callPackage ./fetchdepotcache.nix { - depotdownloader = depotdownloader-json; + depotdownloader = self.depotdownloader-json; }; fetchDepotFile = callPackage ./fetchdepotfile.nix { - depotdownloader = depotdownloader-json; + depotdownloader = self.depotdownloader-json; }; mkDepot = callPackage ./mkdepot.nix {}; @@ -52,4 +54,4 @@ let f = self: with self; { , recurseIntoAttrs , pkgs }: -recurseIntoAttrs (lib.makeScope newScope (self: f self // { inherit pkgs; })) +lib.makeScope newScope (self: f (self // { inherit pkgs; })) |