From 3ca3c8699556edaaa07795d562cf5cd885907219 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 26 Sep 2025 16:27:10 +0100 Subject: [PATCH] gnu: Add go-github-com-moby-sys-reexec. * gnu/packages/golang-xyz.scm (go-github-com-moby-sys-reexec): New variable. Change-Id: Iebcc2cd1273a434864cc8706504ac15ec0354545 --- gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 18b988e0c04c615e197520e74a5c41514260f4c6..897a58819c8ad935dcf7c0e8cf12efba77ddfc82 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -14721,6 +14721,33 @@ about OS mounts as seen by the current process is available from names.") (license license:asl2.0))) +(define-public go-github-com-moby-sys-reexec + (package + (name "go-github-com-moby-sys-reexec") + (version "0.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/moby/sys") + (commit (go-version->git-ref version + #:subdir "reexec")))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1n2z0zqfdyw6rllqdljddczh758kq22k4ajrhv27shv7m3fnvm0p")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/moby/sys/reexec" + #:unpack-path "github.com/moby/sys")) + (home-page "https://github.com/moby/sys") + (synopsis "BusyBox style reexec of a binary for Golang") + (description + "This package facilitates the BusyBox style reexec of a binary. +Handlers can be registered with a name and the argv 0 of the exec of the +binary will be used to find and execute custom init paths.") + (license license:asl2.0))) + (define-public go-github-com-moby-sys-sequential (package (name "go-github-com-moby-sys-sequential")