<title>feat(tvix/derivation): also fail if output name is called `drv`</title>
<updated>2023-01-18T17:13:23+00:00</updated>
<author>
<name>Florian Klink</name>
<email>flokli@flokli.de</email>
...</author>
<published>2023-01-17T10:56:23+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=0aad4e2246971601c16a20240eebf61964f8c198"/>
<id>urn:sha1:0aad4e2246971601c16a20240eebf61964f8c198</id>
<content type="text">
`drv` is an invalid output name too, as this would cause a
`builtins.derivation` call to return an attrset with a `drvPath` key
(which already exists) and has a different meaning.
Also handle errors during store path construction, and return our own
error type, instead of the ParseStorePathError.
Change-Id: Ib7952dde1d5cf18a0e210928df7c57b5939b7678
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7850
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: flokli <flokli@flokli.de>
</content>