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-25 15:46:47 +02:00
2019-05-06 23:21:33 +02:00
2019-09-23 10:38:43 +02:00
2018-09-25 18:45:50 +02:00
2019-09-04 13:02:27 +02:00
2019-10-23 16:40:17 +02:00
2019-03-13 23:12:43 +01:00
2019-06-05 23:10:37 +02:00
2018-09-04 17:25:11 +02:00
2019-09-04 13:02:27 +02:00