graph: %BAG-WITH-ORIGINS-NODE-TYPE includes the origin's guile.
authorLudovic Courtès <ludo@gnu.org>
Sat, 2 Jan 2016 21:22:57 +0000 (22:22 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sat, 2 Jan 2016 21:25:41 +0000 (22:25 +0100)
commit51385362f76e2f823ac8d8cf720d06c386504069
tree7d665f8b57fce9c165f03581dc3450203d1ab3d3
parentf88282af38dfe805034686e88bab734c582ef74d
graph: %BAG-WITH-ORIGINS-NODE-TYPE includes the origin's guile.

Before that it would include #f for most origins since that the default
value of 'origin-patch-guile'.

* guix/scripts/graph.scm (bag-node-edges): When 'origin-patch-guile'
returns #f, use (default-guile).
* tests/graph.scm ("bag DAG, including origins"): Check for an edge from
O to (default-guile).
guix/scripts/graph.scm
tests/graph.scm