gnu: guile-bash: Modernise.
* gnu/packages/guile-xyz.scm (guile-bash)[inputs]: Use MODIFY-INPUTS. [arguments]: Use SUBSTITUTE-KEYWORD-ARGUMENTS.
This commit is contained in:
parent
19d576c645
commit
ae74b3020c
1 changed files with 13 additions and 12 deletions
|
@ -476,19 +476,20 @@ and then run @command{scm example.scm}.")
|
||||||
(inherit guile2.0-bash)
|
(inherit guile2.0-bash)
|
||||||
(name "guile-bash")
|
(name "guile-bash")
|
||||||
(inputs
|
(inputs
|
||||||
`(("guile" ,guile-3.0-latest)
|
(modify-inputs (package-inputs guile2.0-bash)
|
||||||
,@(assoc-remove! (package-inputs guile2.0-bash) "guile")))
|
(replace "guile" guile-3.0-latest)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f
|
(substitute-keyword-arguments (package-arguments guile2.0-bash)
|
||||||
#:phases (modify-phases %standard-phases
|
;; XXX The tests succeed with Guile 2.0 but fail with 3.0.
|
||||||
|
((#:tests? _ #f) #f)
|
||||||
|
((#:phases phases #~%standard-phases)
|
||||||
|
#~(modify-phases #$phases
|
||||||
(add-after 'install 'install-guile
|
(add-after 'install 'install-guile
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(copy-recursively
|
(copy-recursively
|
||||||
(string-append (assoc-ref outputs "out")
|
(string-append (assoc-ref outputs "out")
|
||||||
(assoc-ref inputs "guile") "/share")
|
(assoc-ref inputs "guile") "/share")
|
||||||
(string-append (assoc-ref outputs "out") "/share"))
|
(string-append (assoc-ref outputs "out") "/share"))))))))))
|
||||||
#t)))
|
|
||||||
,@(package-arguments guile2.0-bash)))))
|
|
||||||
|
|
||||||
(define-public guile-8sync
|
(define-public guile-8sync
|
||||||
(let ((commit "183b4f02e68279d4984e79b79e06bfcf1861fcbf") (revision "0"))
|
(let ((commit "183b4f02e68279d4984e79b79e06bfcf1861fcbf") (revision "0"))
|
||||||
|
|
Reference in a new issue