Hello,

Debian project currently uses `/bin/w` from the hurd package, so I propose the 
attached patch.


Rene
From 456f05894e08961b1f20fe2ff8a6731abe9d96f0 Mon Sep 17 00:00:00 2001
From: Rene Saavedra <pac...@protonmail.com>
Date: Sun, 12 Apr 2020 22:33:08 -0500
Subject: [PATCH] gnu: hurd: Fix references to /bin/w.

* gnu/packages/hurd.scm (hurd): Use '/bin/w' from hurd package.
---
 gnu/packages/hurd.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 88af75c48e..fcbbaad10c 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2020 Marius Bakke <mba...@fastmail.com>
 ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <jann...@gnu.org>
 ;;; Copyright © 2020 Ricardo Wurmus <rek...@elephly.net>
+;;; Copyright © 2020 Rene Saavedra <pac...@protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -398,6 +399,9 @@ boot, since this cannot be done from GNU/Linux."
                (substitute* '("startup/startup.c" "init/init.c" "config/ttys")
                  (("/libexec/")
                   (string-append out "/libexec/")))
+               (substitute* '("utils/uptime.sh")
+                 (("/bin/w")
+                  (string-append out "/bin/w")))
                (substitute* "daemons/console-run.c"
                  (("/hurd/")
                   (string-append out "/hurd/")))
-- 
2.21.0

Reply via email to