[Top][All Lists]

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

How to replace %output with #$output?

From: Mekeor Melire
Subject: How to replace %output with #$output?
Date: Mon, 21 Mar 2022 21:31:24 +0000

In the IRC-channel, I was told that the undocumented, magic %output
variable is deprecated. Instead, I should use #$output. But I couldn't
get this done. I always ran into strange errors.

How should I change the following snippet?

--8<---------------cut here---------------start------------->8---
         #:tests? #f ; no tests
         #:make-flags (list "CC=gcc")
         (modify-phases %standard-phases
             (delete 'configure)
             (add-after 'unpack 'patch-makefile
               (lambda _
                 (substitute* "Makefile"
                   (("/usr/local") %output)))))))
--8<---------------cut here---------------end--------------->8---

The whole file is available here:

reply via email to

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