about summary refs log tree commit diff
path: root/pkgs/applications/networking/netmaker
diff options
context:
space:
mode:
authorColin Arnott <colin@urandom.co.uk>2023-01-06 00:03:35 +0000
committerColin Arnott <colin@urandom.co.uk>2023-01-06 00:15:11 +0000
commit486132e97c0e8a718e6522f21a248865f9932a9c (patch)
treee0742a75440a9b081ae9e6c7fe1c7b1ea59b2233 /pkgs/applications/networking/netmaker
parent2e8c329393e70a5b99297cf717c1a0aab26df6a6 (diff)
netmaker-full: init at 0.17.1
We got complaints that netclient is not really netmaker. So like other
monorepo packages, we have split out netmaker to contain just the server
binary, and netmaker-full contains everything in the repo.

Updates #207802
Diffstat (limited to 'pkgs/applications/networking/netmaker')
-rw-r--r--pkgs/applications/networking/netmaker/default.nix15
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/applications/networking/netmaker/default.nix b/pkgs/applications/networking/netmaker/default.nix
index ce074c49cb617..4268191b42ffb 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 ];