~ruther/guix-local

0ed74c3b9219250c8c30fb2cf034e663fd687328 — Artyom V. Poptsov 8 months ago 50f3431
gnu: uucp: Use GEXPs.

* gnu/packages/uucp.scm (uucp) [arguments]: Use GEXPs.

Change-Id: I482d4237324e23725dcaabc9dbe0f8406f01e3da
1 files changed, 11 insertions(+), 12 deletions(-)

M gnu/packages/uucp.scm
M gnu/packages/uucp.scm => gnu/packages/uucp.scm +11 -12
@@ 48,18 48,17 @@
                "0b5nhl9vvif1w3wdipjsk8ckw49jj1w85xw1mmqi3zbcpazia306"))))
    (build-system gnu-build-system)
    (arguments
     '(#:phases
       (modify-phases %standard-phases
         (replace 'configure
           (lambda* (#:key outputs #:allow-other-keys)
             ;; The old 'configure' script doesn't support the arguments
             ;; that we pass by default.
             (setenv "CONFIG_SHELL" (which "sh"))
             (let ((out (assoc-ref outputs "out")))
               (invoke "./configure"
                       (string-append "--prefix=" out)
                       (string-append "--infodir=" out
                                      "/share/info"))))))))
     (list #:phases
           #~(modify-phases %standard-phases
               (replace 'configure
                 (lambda _
                   ;; The old 'configure' script doesn't support the arguments
                   ;; that we pass by default.
                   (setenv "CONFIG_SHELL" (which "sh"))
                   (invoke "./configure"
                           (string-append "--prefix=" #$output)
                           (string-append "--infodir=" #$output
                                          "/share/info")))))))
    (native-inputs (list gcc-13))
    (home-page "https://www.gnu.org/software/uucp/uucp.html")
    (synopsis "UUCP protocol implementation")