og-northstar/pkgs/default.nix
2026-08-09 19:38:32 -04:00

39 lines
863 B
Nix

{
self,
pkgs,
mods,
launcher,
discordrpc,
plugins,
system,
version,
...
}:
let
in
{
launcher = launcher.packages.${system}.default.overrideAttrs (final: {
version = version + ".0";
__intentionallyOverridingVersion = true;
});
mods = pkgs.callPackage ./mods { inherit mods version; };
discordrpc = discordrpc.packages.${system}.default;
plugins = plugins.packages.${system}.default;
northstar-stubs = pkgs.callPackage ./northstar-stubs { };
northstar-navs = pkgs.callPackage ./northstar-navs { };
northstar = pkgs.callPackage ./northstar {
inherit version;
inherit (self.packages.${system})
launcher
mods
discordrpc
plugins
northstar-stubs
northstar-navs
;
};
zip = pkgs.callPackage ./zip {
inherit version;
inherit (self.packages.${system}) northstar;
};
}