unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#50084] [PATCH] gnu: Add waypipe.
@ 2021-08-17  1:53 Robby Zambito
  2021-08-18 20:27 ` [bug#50084] [PATCH v2] gnu: waypipe: Enable tests Robby Zambito
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Robby Zambito @ 2021-08-17  1:53 UTC (permalink / raw)
  To: 50084; +Cc: Robby Zambito

* gnu/packages/xdisorg.scm (waypipe): New variable.
---
 gnu/packages/xdisorg.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 71c2ea4cbc..d79f580b47 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -50,6 +50,7 @@
 ;;; Copyright © 2021 Niklas Eklund <niklas.eklund@posteo.net>
 ;;; Copyright © 2021 Nikita Domnitskii <nikita@domnitskii.me>
 ;;; Copyright © 2021 ikasero <ahmed@ikasero.com>
+;;; Copyright © 2021 Robby Zambito <contact@robbyzambito.me>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -866,6 +867,33 @@ predefined region or a particular window.  Also, it makes it possible to
 include cursor in the resulting image.")
     (license license:gpl3+)))
 
+(define-public waypipe
+  (package
+    (name "waypipe")
+    (version "0.8.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.freedesktop.org/mstoeckl/waypipe")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1qa47ljfvb1vv3h647xwn1j5j8gfmcmdfaz4j8ygnkvj36y87vnz"))))
+    (build-system meson-build-system)
+    ;; One test fails where the program does not exit cleanly given a bad
+    ;; setup. Not ideal but probably safe to ignore. Check that no other tests
+    ;; fail before bumping the version. If all tests pass, remove this.
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (delete 'check))))
+    (home-page "https://gitlab.freedesktop.org/mstoeckl/waypipe")
+    (synopsis "Proxy for Wayland protocol applications")
+    (description "Waypipe is a proxy for Wayland clients, with the aim of
+supporting behavior like ssh -X.")
+    (license license:expat)))
+
 (define-public unclutter
   (package
     (name "unclutter")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [bug#50084] [PATCH v2] gnu: waypipe: Enable tests.
  2021-08-17  1:53 [bug#50084] [PATCH] gnu: Add waypipe Robby Zambito
@ 2021-08-18 20:27 ` Robby Zambito
  2021-08-19  2:02   ` [bug#50084] [PATCH v3] gnu: waypipe: Clean up phases and dependencies Robby Zambito
  2021-08-18 22:56 ` [bug#50084] [PATCH] gnu: Add waypipe Paul A. Patience
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 13+ messages in thread
From: Robby Zambito @ 2021-08-18 20:27 UTC (permalink / raw)
  To: 50084; +Cc: Robby Zambito

* gnu/packages/xdisorg.scm (waypipe): Don't skip tests. Add dependencies
  required to run the tests.
---
This is my first contribution to guix, I was not aware of how to do what
was needed to properly pass the tests for this package. After consulting
#guix on IRC, I have believe I have made the necessary changes.

 gnu/packages/xdisorg.scm | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index d79f580b47..ba520d35ae 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -881,13 +881,24 @@ include cursor in the resulting image.")
        (sha256
         (base32 "1qa47ljfvb1vv3h647xwn1j5j8gfmcmdfaz4j8ygnkvj36y87vnz"))))
     (build-system meson-build-system)
-    ;; One test fails where the program does not exit cleanly given a bad
-    ;; setup. Not ideal but probably safe to ignore. Check that no other tests
-    ;; fail before bumping the version. If all tests pass, remove this.
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (delete 'check))))
+         (add-after 'unpack 'fix-sleep-path
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out"))
+                   (coreutils (assoc-ref inputs "coreutils")))
+               (substitute* "./test/startup_failure.py"
+                 (("sleep")
+                  (string-append coreutils "/bin/sleep")))
+               #t))))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("scdoc" ,scdoc)))
+    (inputs
+     ;; For tests
+     `(("python" ,python)
+       ("coreutils" ,coreutils)))
     (home-page "https://gitlab.freedesktop.org/mstoeckl/waypipe")
     (synopsis "Proxy for Wayland protocol applications")
     (description "Waypipe is a proxy for Wayland clients, with the aim of
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [bug#50084] [PATCH] gnu: Add waypipe.
  2021-08-17  1:53 [bug#50084] [PATCH] gnu: Add waypipe Robby Zambito
  2021-08-18 20:27 ` [bug#50084] [PATCH v2] gnu: waypipe: Enable tests Robby Zambito
@ 2021-08-18 22:56 ` Paul A. Patience
  2021-08-19 22:11 ` [bug#50084] [PATCH v3] gnu: waypipe: Clean up phases and dependencies Robby Zambito
  2021-08-30  1:54 ` [bug#50084] [PATCH] gnu: Add waypipe Robby Zambito
  3 siblings, 0 replies; 13+ messages in thread
From: Paul A. Patience @ 2021-08-18 22:56 UTC (permalink / raw)
  To: 50084@debbugs.gnu.org

Hi,

> +         (add-after 'unpack 'fix-sleep-path
> +           (lambda* (#:key inputs outputs #:allow-other-keys)
> +             (let ((out (assoc-ref outputs "out"))

out is not used anywhere, so you can remove it, along with the outputs
argument of the lambda.

> +                   (coreutils (assoc-ref inputs "coreutils")))
> +               (substitute* "./test/startup_failure.py"
> +                 (("sleep")
> +                  (string-append coreutils "/bin/sleep")))
> +               #t))))))
> +    (native-inputs
> +     `(("pkg-config" ,pkg-config)
> +       ("scdoc" ,scdoc)))
> +    (inputs
> +     ;; For tests
> +     `(("python" ,python)
> +       ("coreutils" ,coreutils)))

I haven't tried building this or anything, but if python and coreutils
are really only needed for tests, then they need not be in inputs (and
the fact that the initial version of this patch didn't have them at all
supports this thesis).
In other words, I'd put everything in native-inputs.

Also (and this is really minor), arguments normally follows the inputs
sections.

Best regards,
Paul





^ permalink raw reply	[flat|nested] 13+ messages in thread

* [bug#50084] [PATCH v3] gnu: waypipe: Clean up phases and dependencies.
  2021-08-18 20:27 ` [bug#50084] [PATCH v2] gnu: waypipe: Enable tests Robby Zambito
@ 2021-08-19  2:02   ` Robby Zambito
  2021-08-19  4:04     ` Paul A. Patience
  2021-08-19 15:24     ` Maxime Devos
  0 siblings, 2 replies; 13+ messages in thread
From: Robby Zambito @ 2021-08-19  2:02 UTC (permalink / raw)
  To: 50084; +Cc: paul, Robby Zambito

* gnu/packages/xdisorg.scm (waypipe)[arguments]: Remove unused
  argument from fix-sleep-path phase.
  [native-inputs]: Add python, coreutils.
  [inputs]: Remove python, coreutils.
---
Paul,

Thank you for the tips. I've removed the unused outputs argument, as
well as the out variable.

I'm a bit confused as to why test dependencies are supposed to be
native-inputs. Aren't the tests run on the target architecture, not the
build machine architecture? And aren't native-inputs built for the build
machine architecture?

I cross compiled the package for armhf-linux and aarch64-linux and it
built and tested fine with the changes you suggested, but I also did the
same with how I had it previously. 

Sincerely,
Robby

 gnu/packages/xdisorg.scm | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index ba520d35ae..f5b041a590 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -885,19 +885,15 @@ include cursor in the resulting image.")
      `(#:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'fix-sleep-path
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (let ((out (assoc-ref outputs "out"))
-                   (coreutils (assoc-ref inputs "coreutils")))
+           (lambda* (#:key inputs #:allow-other-keys)
+             (let ((coreutils (assoc-ref inputs "coreutils")))
                (substitute* "./test/startup_failure.py"
-                 (("sleep")
-                  (string-append coreutils "/bin/sleep")))
-               #t))))))
+                 (("sleep") (string-append coreutils "/bin/sleep")))))))))
     (native-inputs
      `(("pkg-config" ,pkg-config)
-       ("scdoc" ,scdoc)))
-    (inputs
-     ;; For tests
-     `(("python" ,python)
+       ("scdoc" ,scdoc)
+       ;; For tests
+       ("python" ,python)
        ("coreutils" ,coreutils)))
     (home-page "https://gitlab.freedesktop.org/mstoeckl/waypipe")
     (synopsis "Proxy for Wayland protocol applications")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [bug#50084] [PATCH v3] gnu: waypipe: Clean up phases and dependencies.
  2021-08-19  2:02   ` [bug#50084] [PATCH v3] gnu: waypipe: Clean up phases and dependencies Robby Zambito
@ 2021-08-19  4:04     ` Paul A. Patience
  2021-08-19 15:24     ` Maxime Devos
  1 sibling, 0 replies; 13+ messages in thread
From: Paul A. Patience @ 2021-08-19  4:04 UTC (permalink / raw)
  To: Robby Zambito; +Cc: 50084

On Wednesday, August 18th, 2021 at 22:02, Robby Zambito <contact@robbyzambito.me> wrote:
> I'm a bit confused as to why test dependencies are supposed to be
> native-inputs. Aren't the tests run on the target architecture, not the
> build machine architecture? And aren't native-inputs built for the build
> machine architecture?

You might be right.
I haven't yet done any cross compiling with Guix yet, so I don't know much about it.
I'll have to let someone with more knowledge comment on this.

Best regards,
Paul





^ permalink raw reply	[flat|nested] 13+ messages in thread

* [bug#50084] [PATCH v3] gnu: waypipe: Clean up phases and dependencies.
  2021-08-19  2:02   ` [bug#50084] [PATCH v3] gnu: waypipe: Clean up phases and dependencies Robby Zambito
  2021-08-19  4:04     ` Paul A. Patience
@ 2021-08-19 15:24     ` Maxime Devos
  2021-08-19 19:58       ` Robby Zambito
  1 sibling, 1 reply; 13+ messages in thread
From: Maxime Devos @ 2021-08-19 15:24 UTC (permalink / raw)
  To: Robby Zambito, 50084; +Cc: paul

[-- Attachment #1: Type: text/plain, Size: 1871 bytes --]

Robby Zambito schreef op wo 18-08-2021 om 22:02 [-0400]:
> * gnu/packages/xdisorg.scm (waypipe)[arguments]: Remove unused
>   argument from fix-sleep-path phase.
>   [native-inputs]: Add python, coreutils.
>   [inputs]: Remove python, coreutils.
> ---
> Paul,
> 
> Thank you for the tips. I've removed the unused outputs argument, as
> well as the out variable.
> 
> I'm a bit confused as to why test dependencies are supposed to be
> native-inputs. Aren't the tests run on the target architecture, not the
> build machine architecture? And aren't native-inputs built for the build
> machine architecture?

By default, tests are never run when cross-compiling, so putting test
dependencies in 'native-inputs' works in practice.  Theoretically,
putting test dependencies in 'inputs' might be cleaner, especially
if at some point Guix supports testing cross-compiled packages
(maybe the build directory could be copied to a "worktree" output or
something, and guix could provide a command to test the cross-compiled
binaries on the machine that was cross-compiled for or something).

Nevertheless, test dependencies tend to be put in 'native-input' anyways.
This has a practical reason (*): not all build systems support
cross-compilation. E.g., the build system 'meson', used by 'glib', doesn't
support cross-compilation on 'master' (it does on 'core-updates-frozen' though),
so packages that (indirectly) have 'glib' as 'input' cannot be an 'input'.

(*) not necessarily the reason people originally had in mind. 

> I cross compiled the package for armhf-linux and aarch64-linux and it
> built and tested fine with the changes you suggested, but I also did the

Are you sure it tested?  Unless qemu transparent emulation is enabled
(see ‘Transparent Emulation with QEMU’ in the manual) that cannot happen.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [bug#50084] [PATCH v3] gnu: waypipe: Clean up phases and dependencies.
  2021-08-19 15:24     ` Maxime Devos
@ 2021-08-19 19:58       ` Robby Zambito
  2021-08-19 21:13         ` Maxime Devos
  0 siblings, 1 reply; 13+ messages in thread
From: Robby Zambito @ 2021-08-19 19:58 UTC (permalink / raw)
  To: Maxime Devos, 50084; +Cc: paul

Hi Maxime,

Thank you for the insight. 

> > I cross compiled the package for armhf-linux and aarch64-linux and it
> > built and tested fine with the changes you suggested, but I also did the
> 
> Are you sure it tested?  Unless qemu transparent emulation is enabled
> (see ‘Transparent Emulation with QEMU’ in the manual) that cannot happen.

I just ran it again to be sure, and yes. I did set up QEMU for building
on other architectures. I suppose this means QEMU is being used for the
'native-inputs', which is a little confusing but I guess it makes sense
:D

With the current state of these patches it follows the practice of
putting the test dependencies in the native-inputs. If there is anything
else that is needed before this can be merged I will be happy to make it
happen!

Sincerely,
Robby





^ permalink raw reply	[flat|nested] 13+ messages in thread

* [bug#50084] [PATCH v3] gnu: waypipe: Clean up phases and dependencies.
  2021-08-19 19:58       ` Robby Zambito
@ 2021-08-19 21:13         ` Maxime Devos
  0 siblings, 0 replies; 13+ messages in thread
From: Maxime Devos @ 2021-08-19 21:13 UTC (permalink / raw)
  To: 50084; +Cc: paul

[-- Attachment #1: Type: text/plain, Size: 1274 bytes --]

Robby Zambito schreef op do 19-08-2021 om 15:58 [-0400]:
> Hi Maxime,
> 
> Thank you for the insight. 
> 
> > > I cross compiled the package for armhf-linux and aarch64-linux and it
> > > built and tested fine with the changes you suggested, but I also did the
> > 
> > Are you sure it tested?  Unless qemu transparent emulation is enabled
> > (see ‘Transparent Emulation with QEMU’ in the manual) that cannot happen.
> 
> I just ran it again to be sure, and yes. I did set up QEMU for building
> on other architectures. I suppose this means QEMU is being used for the
> 'native-inputs', which is a little confusing but I guess it makes sense
> :D

It is impossible to cross-compile waypipe on master, because
meson-build-system does not support cross-compilation (on master).

# replace 'glib' with 'waypipe'
$ LC_ALL=C guix build glib --target=arm-linux-gnueabihf
guix build: error: gnu/packages/glib.scm:425:2: glib@2.62.6: build system `meson' does not support cross builds

What branch are you on?

Also, what arguments did you pass to "guix build"?
You need --target=arm-linux-gnueabihf for cross-compilation,
not --system=armhf-linux.  The latter is for offloading to an armhf
machine or a QEMU emulated build.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [bug#50084] [PATCH v3] gnu: waypipe: Clean up phases and dependencies.
  2021-08-17  1:53 [bug#50084] [PATCH] gnu: Add waypipe Robby Zambito
  2021-08-18 20:27 ` [bug#50084] [PATCH v2] gnu: waypipe: Enable tests Robby Zambito
  2021-08-18 22:56 ` [bug#50084] [PATCH] gnu: Add waypipe Paul A. Patience
@ 2021-08-19 22:11 ` Robby Zambito
  2021-08-30  1:54 ` [bug#50084] [PATCH] gnu: Add waypipe Robby Zambito
  3 siblings, 0 replies; 13+ messages in thread
From: Robby Zambito @ 2021-08-19 22:11 UTC (permalink / raw)
  To: Maxime Devos, 50084; +Cc: paul

Hi Maxime,

> It is impossible to cross-compile waypipe on master, because
> meson-build-system does not support cross-compilation (on master).
> 
> # replace 'glib' with 'waypipe'
> $ LC_ALL=C guix build glib --target=arm-linux-gnueabihf
> guix build: error: gnu/packages/glib.scm:425:2: glib <at> 2.62.6: build
> system `meson' does not support cross builds

You are correct, I am not actually able to cross compile. I was
confusing the virtualized build with cross-compiling.

> What branch are you on?

master

> Also, what arguments did you pass to "guix build"?
> You need --target=arm-linux-gnueabihf for cross-compilation,
> not --system=armhf-linux.  The latter is for offloading to an armhf
> machine or a QEMU emulated build.

--target does not work, --system does.

Sincerely,
Robby




^ permalink raw reply	[flat|nested] 13+ messages in thread

* [bug#50084] [PATCH] gnu: Add waypipe.
  2021-08-17  1:53 [bug#50084] [PATCH] gnu: Add waypipe Robby Zambito
                   ` (2 preceding siblings ...)
  2021-08-19 22:11 ` [bug#50084] [PATCH v3] gnu: waypipe: Clean up phases and dependencies Robby Zambito
@ 2021-08-30  1:54 ` Robby Zambito
  2021-08-30  1:58   ` Robby Zambito
                     ` (2 more replies)
  3 siblings, 3 replies; 13+ messages in thread
From: Robby Zambito @ 2021-08-30  1:54 UTC (permalink / raw)
  To: 50084; +Cc: Robby Zambito

* gnu/packages/freedesktop.scm (waypipe): New variable.
---
 gnu/packages/freedesktop.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 693a79c738..f2e00ebba9 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -24,6 +24,7 @@
 ;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
 ;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
 ;;; Copyright © 2021 pineapples <guixuser6392@protonmail.com>
+;;; Copyright © 2021 Robby Zambito <contact@robbyzambito.me>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2434,3 +2435,38 @@ seeks to add support for the screenshot, screencast, and possibly
 remote-desktop @code{xdg-desktop-portal} interfaces for wlroots based
 compositors.")
     (license license:expat)))
+
+(define-public waypipe
+  (package
+    (name "waypipe")
+    (version "0.8.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.freedesktop.org/mstoeckl/waypipe")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1qa47ljfvb1vv3h647xwn1j5j8gfmcmdfaz4j8ygnkvj36y87vnz"))))
+    (build-system meson-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-sleep-path
+           (lambda* (#:key inputs #:allow-other-keys)
+             (let ((coreutils (assoc-ref inputs "coreutils")))
+               (substitute* "./test/startup_failure.py"
+                 (("sleep") (string-append coreutils "/bin/sleep")))))))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("scdoc" ,scdoc)
+       ;; For tests
+       ("python" ,python)
+       ("coreutils" ,coreutils)))
+    (home-page "https://gitlab.freedesktop.org/mstoeckl/waypipe")
+    (synopsis "Proxy for Wayland protocol applications")
+    (description
+     "Waypipe is a proxy for Wayland clients, with the aim of
+supporting behavior like ssh -X.")
+    (license license:expat)))
-- 
2.33.0





^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [bug#50084] [PATCH] gnu: Add waypipe.
  2021-08-30  1:54 ` [bug#50084] [PATCH] gnu: Add waypipe Robby Zambito
@ 2021-08-30  1:58   ` Robby Zambito
  2021-09-06  9:15   ` bug#50084: " Nicolas Goaziou
  2021-09-07 21:13   ` [bug#50084] " Maxime Devos
  2 siblings, 0 replies; 13+ messages in thread
From: Robby Zambito @ 2021-08-30  1:58 UTC (permalink / raw)
  To: 50084

I apologize for being messy with this patch. I realized after poking
around more that this package would probably fit better under the
freedesktop module. My most recent patch should be able to be applied
without any of the previous ones I sent. I hope this is good now!

Thanks,
Robby




^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#50084: [PATCH] gnu: Add waypipe.
  2021-08-30  1:54 ` [bug#50084] [PATCH] gnu: Add waypipe Robby Zambito
  2021-08-30  1:58   ` Robby Zambito
@ 2021-09-06  9:15   ` Nicolas Goaziou
  2021-09-07 21:13   ` [bug#50084] " Maxime Devos
  2 siblings, 0 replies; 13+ messages in thread
From: Nicolas Goaziou @ 2021-09-06  9:15 UTC (permalink / raw)
  To: Robby Zambito; +Cc: 50084-done

Hello,

Robby Zambito <contact@robbyzambito.me> writes:

> * gnu/packages/freedesktop.scm (waypipe): New variable.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 13+ messages in thread

* [bug#50084] [PATCH] gnu: Add waypipe.
  2021-08-30  1:54 ` [bug#50084] [PATCH] gnu: Add waypipe Robby Zambito
  2021-08-30  1:58   ` Robby Zambito
  2021-09-06  9:15   ` bug#50084: " Nicolas Goaziou
@ 2021-09-07 21:13   ` Maxime Devos
  2 siblings, 0 replies; 13+ messages in thread
From: Maxime Devos @ 2021-09-07 21:13 UTC (permalink / raw)
  To: Robby Zambito, 50084

[-- Attachment #1: Type: text/plain, Size: 1002 bytes --]

Hi,

> +    (arguments
> +     `(#:phases
> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'fix-sleep-path
> +           (lambda* (#:key inputs #:allow-other-keys)
> +             (let ((coreutils (assoc-ref inputs "coreutils")))

coreutils is in native-inputs, not inputs, so this needs to be:
(assoc-ref (or native-inputs inputs) "coreutils").  (native-inputs
and inputs are appended together when compiling natively, that's
why this didn't cause a build error).

> +               (substitute* "./test/startup_failure.py"
> +                 (("sleep") (string-append coreutils "/bin/sleep")))))))))

You can write (("sleep") (which "sleep")) here.

> +    (native-inputs
> +     `(("pkg-config" ,pkg-config)
> +       ("scdoc" ,scdoc)
> +       ;; For tests
> +       ("python" ,python)
> +       ("coreutils" ,coreutils)))

FWIW, coreutils is an implicit native-input of meson-build-system,
so this input isn't necessary.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-09-07 21:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-17  1:53 [bug#50084] [PATCH] gnu: Add waypipe Robby Zambito
2021-08-18 20:27 ` [bug#50084] [PATCH v2] gnu: waypipe: Enable tests Robby Zambito
2021-08-19  2:02   ` [bug#50084] [PATCH v3] gnu: waypipe: Clean up phases and dependencies Robby Zambito
2021-08-19  4:04     ` Paul A. Patience
2021-08-19 15:24     ` Maxime Devos
2021-08-19 19:58       ` Robby Zambito
2021-08-19 21:13         ` Maxime Devos
2021-08-18 22:56 ` [bug#50084] [PATCH] gnu: Add waypipe Paul A. Patience
2021-08-19 22:11 ` [bug#50084] [PATCH v3] gnu: waypipe: Clean up phases and dependencies Robby Zambito
2021-08-30  1:54 ` [bug#50084] [PATCH] gnu: Add waypipe Robby Zambito
2021-08-30  1:58   ` Robby Zambito
2021-09-06  9:15   ` bug#50084: " Nicolas Goaziou
2021-09-07 21:13   ` [bug#50084] " Maxime Devos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).