mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
packages: 'package-input-rewriting' has a #:deep? parameter.
* guix/packages.scm (package-input-rewriting): Add #:deep? and pass it to 'package-mapping'. [replacement-property]: New variable. [rewrite]: Check it. [cut?]: New procedure. * tests/packages.scm ("package-input-rewriting"): Pass #:deep? #f and ensure implicit inputs were not rewritten. Avoid 'eq?' comparisons. ("package-input-rewriting, deep"): New test. * gnu/packages/guile.scm (package-for-guile-2.0, package-for-guile-3.0): Pass #:deep? #f.
This commit is contained in:
parent
b3fc03ee26
commit
8819551c8d
4 changed files with 53 additions and 20 deletions
|
@ -420,11 +420,13 @@ GNU@tie{}Guile. Use the @code{(ice-9 readline)} module and call its
|
|||
;; A procedure that rewrites the dependency tree of the given package to use
|
||||
;; GUILE-2.0 instead of GUILE-3.0.
|
||||
(package-input-rewriting `((,guile-3.0 . ,guile-2.0))
|
||||
(guile-variant-package-name "guile2.0")))
|
||||
(guile-variant-package-name "guile2.0")
|
||||
#:deep? #f))
|
||||
|
||||
(define package-for-guile-2.2
|
||||
(package-input-rewriting `((,guile-3.0 . ,guile-2.2))
|
||||
(guile-variant-package-name "guile2.2")))
|
||||
(guile-variant-package-name "guile2.2")
|
||||
#:deep? #f))
|
||||
|
||||
(define-syntax define-deprecated-guile3.0-package
|
||||
(lambda (s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue