[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nix-dev
Subject:    Re: [Nix-dev] Make either 'bin' or 'out' the first output.
From:       Vladimír Čunát <vcunat () gmail ! com>
Date:       2016-11-16 20:22:50
Message-ID: ebe084dd-7c21-313d-b30c-614a9ddce773 () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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



["smime.p7s" (application/pkcs7-signature)]

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic