diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-03-04 17:50:30 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-03-05 00:19:10 +0100 |
commit | c8f9f24776040cc5645cf3b91b19946b1f1e4dac (patch) | |
tree | a00e11fe996377cfee341f21e72391f900ce0948 /tests | |
parent | eda0522aabbda8415b1266fd9a8fab8a5e02cf50 (diff) | |
download | guix-c8f9f24776040cc5645cf3b91b19946b1f1e4dac.tar guix-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')
0 files changed, 0 insertions, 0 deletions