summaryrefslogtreecommitdiff
path: root/guix/grafts.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-03-07 15:22:29 +0100
committerLudovic Courtès <ludo@gnu.org>2021-03-30 22:48:44 +0200
commit89b0c2390a53dd9b745c43c03dcb8e2915c3ba58 (patch)
tree44b70ee64c537ff52c92b3e998b718a0f2a90c08 /guix/grafts.scm
parente7477dd59b434080182d12f42905476929e3b4e5 (diff)
downloadguix-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 'guix/grafts.scm')
0 files changed, 0 insertions, 0 deletions