summary refs log tree commit diff
path: root/tests/store.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-03-04 17:50:30 +0100
committerLudovic Courtès <ludo@gnu.org>2016-03-05 00:19:10 +0100
commitc8f9f24776040cc5645cf3b91b19946b1f1e4dac (patch)
treea00e11fe996377cfee341f21e72391f900ce0948 /tests/store.scm
parenteda0522aabbda8415b1266fd9a8fab8a5e02cf50 (diff)
downloadguix-c8f9f24776040cc5645cf3b91b19946b1f1e4dac.tar.gz
guix build: Set the build options early.
This fixes a bug whereby, with grafts leading to builds very early,
build options such as --substitute-urls would not be taken into account
yet.

Reported by Andreas Enge <andreas@enge.fr>.

* guix/scripts/build.scm (guix-build): Move 'opts' to the beginning.
Use 'with-store' instead of 'open-connection'.  Call
'set-build-options-from-command-line' right after 'with-store'.
Diffstat (limited to 'tests/store.scm')
0 files changed, 0 insertions, 0 deletions