[Nix-dev] Multiple outputs: is a first output necessary?

Domen Kožar domen at dev.si
Wed Dec 7 13:48:01 CET 2016


I'd say it just wasn't changed since the convention is old to alwas require
$out :)

You can probably make it optional, but who knows what will break.

On Wed, Dec 7, 2016 at 1:13 PM, Freddy Rietdijk <freddyrietdijk at fridh.nl>
wrote:

> Hi,
>
> I'm using Nix and now also multiple outputs for my data analysis and
> simulations. Many scripts generate several files and instead of having them
> together in the same store path I would prefer to put them in separate
> store paths.
>
> I'm not using any of the common outputs like $out and $bin. The multiple
> outputs feature seems to require that $out is used. Therefore I now just
> put a single file in $out. What is the reason this is needed? I saw in the
> documentation that leftover files are typically put in $out.
>
> Freddy
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20161207/e527c06d/attachment.html>


More information about the nix-dev mailing list