gnu: gimp-next: Use output references.

* gnu/packages/gimp.scm (gimp-next)[arguments]: Replace ASSOC-REF with direct
Gexp output references.

Change-Id: I876c7fc30936f81cd57945b0dd1fd3386839df3d
This commit is contained in:
Ricardo Wurmus 2025-03-18 07:19:41 +01:00
parent e019ea22b4
commit 96ac18dfeb
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -451,12 +451,10 @@ that is extensible via a plugin system.")
(substitute* "app/gimp-version.c"
(("CC_VERSION") (string-append "\"" cc-version "\""))))))
(add-after 'install 'move-doc
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(doc (assoc-ref outputs "doc")))
(mkdir-p (string-append doc "/share"))
(rename-file (string-append out "/share/doc")
(string-append doc "/share/doc"))))))))
(lambda _
(mkdir-p (string-append #$output:doc "/share"))
(rename-file (string-append #$output "/share/doc")
(string-append #$output:doc "/share/doc")))))))
(inputs (modify-inputs (package-inputs gimp)
(replace "gtk+" gtk+)
(prepend libxmu libxt)