guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#66608] [PATCH] gnu: Add yara.


From: Bruno Victal
Subject: [bug#66608] [PATCH] gnu: Add yara.
Date: Thu, 19 Oct 2023 16:08:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Hi Jakob,

Jakob Kirsch <jakob.kirsch@web.de> writes:

> +    (arguments
> +     '(#:phases (modify-phases %standard-phases
> +                  (add-before 'check 'remove-bin-sh-in-test
> +                    (lambda* (#:key build-inputs #:allow-other-keys)
> +                      (substitute* "tests/test-rules.c"
> +                        (("/bin/sh")
> +                         (string-append (assoc-ref %build-inputs "bash")
> +                                        "/bin/sh"))))))))

This can be written with G-Expressions as:
--8<---------------cut here---------------start------------->8---
(arguments
 (list
  #:phases
  #~(modify-phases %standard-phases
      (add-before …
       (lambda _
         (substitute* …
          (string-append #$(this-package-input "bash") "/bin/sh")
          …))))))
--8<---------------cut here---------------end--------------->8---

-- 
Thanks,
Bruno.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]