diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-02-25 12:04:06 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-02-25 12:04:06 +0100 |
commit | ed8d236eb938bc123a9ca8a079fea95edf7df6cd (patch) | |
tree | f6605fc2233fa966071005720c0488be3fa62646 | |
parent | 3959714df39664bc7c8e4133586ce1855d01bb22 (diff) | |
download | guix-ed8d236eb938bc123a9ca8a079fea95edf7df6cd.tar.gz guix-ed8d236eb938bc123a9ca8a079fea95edf7df6cd.zip |
gnu: scintilla: Use G-expressions.
* gnu/packages/text-editors.scm (scintilla)[arguments]: Use G-expressions.
-rw-r--r-- | gnu/packages/text-editors.scm | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index d42f219c9f..d4d165498f 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -910,23 +910,24 @@ Octave. TeXmacs is completely extensible via Guile.") (base32 "0x8rw1mnhd3la9xznkag6rymskkd85m3c1wyw2qw0zm89yzqq0mr")))) (build-system gnu-build-system) (arguments - `(#:make-flags (list "GTK3=1" - ,(string-append "CC=" (cc-for-target)) - "-Cgtk") - #:tests? #f ;require un-packaged Pyside - #:phases - (modify-phases %standard-phases - (delete 'configure) ;no configure script - (replace 'install - ;; Upstream provides no install script. - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (lib (string-append out "/lib")) - (include (string-append out "/include"))) - (for-each (lambda (f) (install-file f lib)) - (find-files "bin/" "\\.so$")) - (for-each (lambda (f) (install-file f include)) - (find-files "include/" ".")))))))) + (list + #:make-flags + #~(list "GTK3=1" + (string-append "CC=" #$(cc-for-target)) + "-Cgtk") + #:tests? #f ;require un-packaged Pyside + #:phases + #~(modify-phases %standard-phases + (delete 'configure) ;no configure script + (replace 'install + ;; Upstream provides no install script. + (lambda _ + (let ((lib (string-append #$output "/lib")) + (inc (string-append #$output "/include"))) + (for-each (lambda (f) (install-file f lib)) + (find-files "bin/" "\\.so$")) + (for-each (lambda (f) (install-file f inc)) + (find-files "include/" ".")))))))) (native-inputs (list pkg-config python-wrapper)) (inputs |