Files
Poseidon/nix/packages/default.nix
2025-11-26 16:02:37 +01:00

115 lines
1.9 KiB
Nix

{
env,
deps,
pkgs,
version,
dotnet-sdk,
dotnet-runtime,
netrcConfig ? null,
}:
let
# NOTE(mrtz): Gitlab Nuget Registry does not support groupwide fetches :/
packageSources = import ./sources.nix;
nodeModules = pkgs.callPackage ./node-modules.nix {};
codex-client = pkgs.callPackage ../../src/Codex/src/Client {
inherit
deps
dotnet-sdk
netrcConfig
nodeModules
packageSources
;
};
in
{
serverpack = pkgs.callPackage ./serverpack.nix {
inherit
deps
netrcConfig
dotnet-sdk
dotnet-runtime
packageSources
;
};
# NOTE(mrtz): It's acutally Oceanbox.DataAgent
archmaester = pkgs.callPackage ./dataagent.nix {
inherit
deps
netrcConfig
dotnet-sdk
dotnet-runtime
packageSources
;
};
# NOTE(mrtz): It's acutally Poseidon.Api
interfaces = pkgs.callPackage ./api.nix {
inherit
env
deps
netrcConfig
dotnet-sdk
dotnet-runtime
packageSources
;
};
atlantis = pkgs.callPackage ./atlantis.nix {
inherit
env
deps
netrcConfig
version
dotnet-sdk
dotnet-runtime
packageSources
;
};
sorcerer = pkgs.callPackage ./sorcerer.nix {
inherit
env
deps
netrcConfig
dotnet-sdk
dotnet-runtime
packageSources
;
};
archivist = pkgs.callPackage ./archivist.nix {
inherit
env
deps
netrcConfig
dotnet-sdk
packageSources
;
};
atlantis-client = pkgs.callPackage ./atlantis-client.nix {
inherit
deps
version
dotnet-sdk
netrcConfig
nodeModules
dotnet-runtime
packageSources
;
};
codex = pkgs.callPackage ../../src/Codex/src/Server {
inherit
deps
dotnet-sdk
netrcConfig
dotnet-runtime
packageSources
;
client = codex-client;
};
}