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
..
2019-09-23 11:56:40 -07:00
2019-10-01 23:34:31 +02:00
2019-07-19 11:53:47 +02:00
2018-09-04 17:25:11 +02:00
2019-08-16 23:00:26 +02:00
2019-07-16 23:00:10 +02:00
2019-07-04 18:05:02 +02:00
2019-09-23 23:41:19 +02:00
2019-09-23 23:41:19 +02:00