diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-03-07 15:22:29 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-03-30 22:48:44 +0200 |
commit | 89b0c2390a53dd9b745c43c03dcb8e2915c3ba58 (patch) | |
tree | 44b70ee64c537ff52c92b3e998b718a0f2a90c08 /tests/upstream.scm | |
parent | e7477dd59b434080182d12f42905476929e3b4e5 (diff) | |
download | guix-patches-89b0c2390a53dd9b745c43c03dcb8e2915c3ba58.tar guix-patches-89b0c2390a53dd9b745c43c03dcb8e2915c3ba58.tar.gz |
packages: Call 'bag-grafts' only on the tip of the package graph.
This reinstates pre-gexp behavior where 'expand-input' would explicitly
pass #:graft? #f in recursive calls, thereby preventing redundant calls
to 'bag-grafts'.
* guix/packages.scm (expand-input): Turn into a monadic procedure.
Lower INPUT when it's a package, passing #:graft? #f.
(bag->derivation, bag->cross-derivation): Adjust accordingly.
* tests/packages.scm ("search paths"): Adjust so BUILD aborts only when
passed the package of interest.
Diffstat (limited to 'tests/upstream.scm')
0 files changed, 0 insertions, 0 deletions