guix-patches
[Top][All Lists]
Advanced

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

bug#55129: [PATCH] gnu: Add xschem


From: Ludovic Courtès
Subject: bug#55129: [PATCH] gnu: Add xschem
Date: Mon, 02 May 2022 18:02:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hi,

Konstantinos Agiannis <agiannis.kon@gmail.com> skribis:

> ---
>  gnu/packages/engineering.scm | 46 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 46 insertions(+)

Pushed with a commit log and the cosmetic changes below.

Thanks!

Ludo’.

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 9d06b77c27..0ef1870a50 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -3692,12 +3692,11 @@ (define-public xschem
          (modify-phases %standard-phases
            (delete 'configure)
            (add-before 'build 'setenv
-             (lambda _
-               (setenv "CC"
-                       ,(cc-for-target))
+             (lambda* (#:key outputs #:allow-other-keys)
+               (setenv "CC" ,(cc-for-target))
                (invoke "./configure"
                        (string-append "--prefix="
-                                      (assoc-ref %outputs "out"))) #t)))))
+                                      (assoc-ref outputs "out"))))))))
       (synopsis "Hierarchical schematic editor")
       (description
        "Xschem is an X11 schematic editor written in C and focused on

reply via email to

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