From 0542ea46365d2dcbeba4e723fee4130f223415fa Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 16 Aug 2026 22:26:14 +0100 Subject: gnu: nebula: Simplify packaging. * gnu/packages/networking.scm (nebula): Update to 1.11.0. [arguments] : Provide relative import path to build all commands recursively from "cmd" and use default 'check phase. : Use default 'build phase.. [inputs]: Move from here ... [native-inputs]: ... to here. --- gnu/packages/networking.scm | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 50c5402d3cd..d603d626cb6 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -5176,23 +5176,11 @@ daemon.") (arguments (list #:install-source? #f - #:import-path "github.com/slackhq/nebula" + #:import-path "github.com/slackhq/nebula/..." + #:unpack-path "github.com/slackhq/nebula" #:build-flags - #~(list (format #f "-ldflags=-X main.Build=~a" #$version)) - #:phases - #~(modify-phases %standard-phases - (replace 'build - (lambda* (#:key import-path #:allow-other-keys #:rest arguments) - (for-each - (lambda (cmd) - (apply (assoc-ref %standard-phases 'build) - `(,@arguments #:import-path - ,(string-append import-path "/cmd/" cmd)))) - (list "nebula" - "nebula-service" - "nebula-cert"))))))) - (native-inputs (list go-github-com-stretchr-testify)) - (inputs + #~(list (format #f "-ldflags=-X main.Build=~a" #$version)))) + (native-inputs (list go-dario-cat-mergo go-filippo-io-bigmod go-github-com-anmitsu-go-shlex @@ -5211,6 +5199,7 @@ daemon.") go-github-com-sirupsen-logrus go-github-com-skip2-go-qrcode go-github-com-stefanberger-go-pkcs11uri + go-github-com-stretchr-testify go-github-com-vishvananda-netlink go-go-yaml-in-yaml-v3 go-golang-org-x-crypto -- cgit v1.2.3