summary refs log tree commit diff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2023-06-25 22:28:21 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2023-07-02 02:00:41 +0200
commitb89850f60db655c0c778cd06769f825e503ee5bd (patch)
tree8487e734ca1a6f6e44906517fbb97fecb181f332
parent0e1c5a9d7d58ca24fb3e70793d225f6fff1c0ab5 (diff)
downloadguix-b89850f60db655c0c778cd06769f825e503ee5bd.tar.gz
gnu: celestia-gtk: Use MODIFY-INPUTS.
* gnu/packages/astronomy.scm (celestia-gtk)[inputs]: Rewrite using MODIFY-INPUTS.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
-rw-r--r--gnu/packages/astronomy.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index bb132059ec..95c9e5c459 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1228,9 +1228,9 @@ accurately in real time at any rate desired.")
   (package/inherit celestia
     (name "celestia-gtk")
     (inputs
-     (append (alist-delete "freeglut" (package-inputs celestia))
-             `(("gtk2" ,gtk+-2)
-               ("gtkglext" ,gtkglext))))
+     (modify-inputs (package-inputs celestia)
+       (replace "freeglut" gtk+-2)
+       (prepend gtkglext)))
     (arguments
      (list
       #:configure-flags