Hi. On 12/07/2016 01:13 PM, Freddy Rietdijk wrote: > 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.
I don't think it's strictly required at all. The only problem I know of is that lots of standard variables provided by the framework default to $out (transitively), like $outputDev etc. If you define these as arguments to mkDerivation, it might work. You can see the setting up of those on https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/setup-hooks/multiple-outputs.sh#L32 --Vladimir
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
