f304c9c237
Fixes <http://bugs.gnu.org/19630>. Reported by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>. * guix/derivations.scm (&derivation-error, &derivation-missing-output-error): New error conditions. (derivation->output-path): Raise a '&derivation-missing-output-error' if OUTPUT is not an output of DRV. * guix/ui.scm (call-with-error-handling): Add case for 'derivation-missing-output-error?'. (show-what-to-build): Check whether (derivation-outputs drv) is empty. * tests/packages.scm ("reference to non-existent output"): Add test. |
||
---|---|---|
.. | ||
base32.scm | ||
base64.scm | ||
build-utils.scm | ||
builders.scm | ||
cpan.scm | ||
derivations.scm | ||
gexp.scm | ||
guix-archive.sh | ||
guix-authenticate.sh | ||
guix-build.sh | ||
guix-daemon.sh | ||
guix-download.sh | ||
guix-gc.sh | ||
guix-hash.sh | ||
guix-lint.sh | ||
guix-package.sh | ||
guix-register.sh | ||
guix-system.sh | ||
hash.scm | ||
lint.scm | ||
monads.scm | ||
nar.scm | ||
packages.scm | ||
pk-crypto.scm | ||
pki.scm | ||
profiles.scm | ||
pypi.scm | ||
records.scm | ||
sets.scm | ||
signing-key.pub | ||
signing-key.sec | ||
snix.scm | ||
store.scm | ||
substitute-binary.scm | ||
syscalls.scm | ||
test.drv | ||
ui.scm | ||
union.scm | ||
utils.scm |