Ludovic Courtès 9c9982dc0c
guix build: Handle "guix build /….drv" correctly for non-existent derivations.
This lets the daemon substitute missing derivations, as in the example
at <https://bugs.gnu.org/38226>, instead of failing with ENOENT.

* guix/scripts/build.scm (options->things-to-build): In the
'derivation-path?' case, don't fail when 'read-derivation-from-file'
raises to ENOENT; return the empty list in that case.
(guix-build): Add non-existent '.drv' files to ITEMS.
Pass ITEMS in addition to DRV to 'build-derivations'.
* tests/guix-build.sh: Add test.
2019-11-17 23:14:54 +01:00
..
2018-09-04 17:25:11 +02:00
2019-06-17 16:13:36 +02:00
2018-09-04 17:25:11 +02:00
2019-09-23 10:38:43 +02:00
2018-09-07 11:40:22 +02:00
2019-04-10 17:09:47 +02:00
2019-05-22 00:09:41 +02:00
2019-08-27 12:20:44 +02:00
2018-09-04 17:25:11 +02:00
2018-10-29 00:13:38 +01:00
2019-03-24 00:13:53 +01:00
2019-04-10 17:09:47 +02:00
2019-06-14 21:57:39 +02:00