GNU bug report logs - #54260
[PATCH 0/3] gnu: ucsim: Update to 0.7.1.

Previous Next

Package: guix-patches;

Reported by: Simon South <simon <at> simonsouth.net>

Date: Sat, 5 Mar 2022 12:57:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxime Devos <maximedevos <at> telenet.be>
To: Simon South <simon <at> simonsouth.net>, 54260 <at> debbugs.gnu.org
Subject: [bug#54260] [PATCH 2/3] gnu: ucsim: Don't explicitly return #t from phases.
Date: Sat, 05 Mar 2022 16:23:35 +0100
[Message part 1 (text/plain, inline)]
Simon South schreef op za 05-03-2022 om 07:59 [-0500]:
>           (add-after 'install 'remove-empty-directory
>             (lambda* (#:key outputs #:allow-other-keys)
>               (delete-file-recursively
> -              (string-append (assoc-ref outputs "out") "/share/man"))
> -             #t)))))
> +              (string-append (assoc-ref outputs "out") "/share/man")))))))

Additionally, you could make the #:configure-flags a G-exp and
eliminate input labels (or, in this case, output labels):

(list #:phases
      #~(modify-phases ...
          (add-after ... ...
            (lambda _
              ... (string-append #$output "/share/man") ...))))

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 133 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.