diff --git a/pkgs/applications/networking/netmaker/default.nix b/pkgs/applications/networking/netmaker/default.nix index ce074c49cb61..4268191b42ff 100644 --- a/pkgs/applications/networking/netmaker/default.nix +++ b/pkgs/applications/networking/netmaker/default.nix @@ -1,4 +1,12 @@ -{ buildGoModule, fetchFromGitHub, installShellFiles, lib, libglvnd, pkg-config, xorg }: +{ buildGoModule +, fetchFromGitHub +, installShellFiles +, lib +, libglvnd +, pkg-config +, subPackages ? ["." "netclient"] +, xorg +}: buildGoModule rec { pname = "netmaker"; @@ -13,10 +21,7 @@ buildGoModule rec { vendorHash = "sha256-4LaGwwDu3pKd6I6r/F3isCi9CuFqPGvc5SdVTV34qOI="; - subPackages = [ - "." - "netclient" - ]; + inherit subPackages; nativeBuildInputs = [ pkg-config ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 44e4475033d5..ca1ac95d5ca3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31027,7 +31027,8 @@ with pkgs; nerd-font-patcher = callPackage ../applications/misc/nerd-font-patcher { }; - netmaker = callPackage ../applications/networking/netmaker {}; + netmaker = callPackage ../applications/networking/netmaker {subPackages = ["."];}; + netmaker-full = callPackage ../applications/networking/netmaker {}; newsflash = callPackage ../applications/networking/feedreaders/newsflash { webkitgtk = webkitgtk_5_0;