guix-commits
[Top][All Lists]
Advanced

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

11/16: gnu: skymaker: Use G-expressions.


From: guix-commits
Subject: 11/16: gnu: skymaker: Use G-expressions.
Date: Sat, 8 Jul 2023 17:28:11 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit c0831eadefa2303a0206c0044f0ab5be492de6d3
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Jun 25 22:28:17 2023 +0100

    gnu: skymaker: Use G-expressions.
    
    * gnu/packages/astronomy.scm (skymaker)[arguments]: Rewrite as 
G-expressions.
    
    Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
---
 gnu/packages/astronomy.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 334c040c65..120614d2c0 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -967,13 +967,14 @@ interactively in the plotting window.")
         (base32 "03zvx7c89plp9559niqv5532r233kza3ir992rg3nxjksqmrqvx1"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:configure-flags
-       (list
+     (list
+      #:configure-flags
+       #~(list
         "CPPFLAGS=-fcommon"             ; fix build with GCC 10
         (string-append
-         "--with-fftw-libdir=" (assoc-ref %build-inputs "fftw") "/lib")
+         "--with-fftw-libdir=" #$(this-package-input "fftw") "/lib")
         (string-append
-         "--with-fftw-incdir=" (assoc-ref %build-inputs "fftw") "/include"))))
+         "--with-fftw-incdir=" #$(this-package-input "fftw") "/include"))))
     (inputs
      `(("fftw" ,fftwf)))
     (home-page "https://www.astromatic.net/software/skymaker";)



reply via email to

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