[Nix-dev] Make either 'bin' or 'out' the first output.

Vladimír Čunát vcunat at gmail.com
Wed Nov 16 21:22:50 CET 2016


On 11/16/2016 06:17 PM, Игорь Пашев wrote:
> Re: https://github.com/NixOS/nixpkgs/commit/a17216af4c82dbeb33030355664d96875558f7ac
>
> I'm not sure if this is indented, but with those changes
> "mariadb.client == mariadb.client.bin"

Yes, except for .outputUnspecified attribute.

> And if you need the library you have to write "mariadb.client.out"

Yes, you have to be explicit if you want such specific things. Note that
the library (and headers etc.) *are* available in nix-shell and for
mkDerivation builds if a package (e.g. mariadb.client) is put into build
inputs.

> And "compat." hack ("mariadb.lib = mariacb.client") does not do anything useful.
> 
> Shouldn't the rest of mariadb.client go into mariadb.client.lib?

mariadb is an unsplit full version. I think that "compat hack" of mine
never fully worked (but it should work for build inputs usage).

--Vladimir


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3771 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20161116/25fe203c/attachment.p7s>


More information about the nix-dev mailing list