[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#61674] [PATCH 1/4] gnu: Add calcmysky.
From: |
Leo Famulari |
Subject: |
[bug#61674] [PATCH 1/4] gnu: Add calcmysky. |
Date: |
Sat, 25 Feb 2023 21:55:27 -0500 |
On Sun, Feb 26, 2023 at 12:44:03AM +0000, Sharlatan Hellseher wrote:
> * gnu/packages/astronomy.scm (calcmysky, calcmysky-qt5): New variables.
Thanks for these patches!
> + #:use-module ((guix build utils) #:select (alist-replace))
[...]
> +(define-public calcmysky-qt5
> + (package
> + (inherit calcmysky)
> + (name "calcmysky-qt5")
> + (arguments
> + (list #:configure-flags
> + #~(list "-DQT_VERSION=5"
> + "-DCMAKE_CXX_FLAGS=-fPIC")))
> + (inputs
> + (alist-replace "qtbase" (list qtbase-5)
> + (package-inputs calcmysky)))
Can you try rewriting this using modify-inputs, rather than
alist-replace?
https://guix.gnu.org/manual/devel/en/html_node/Defining-Package-Variants.html#Defining-Package-Variants
Feel free to ask for help if you get stuck.
- [bug#61674] [PATCH 2/4] gnu: qxlsx: Use Qt6., (continued)