[Nix-dev] Some package outputs not linked into the system profile

2015-05-01 Thread Tim Williams
Hi all,

Last weekend I installed my first full NixOS system on my Thinkpad and
overall everything went relatively smoothly (I was brave enough to
try the unstable channel). I added all desired packages to
environment.systemPackages to start with, but have since noticed that
not all build outputs have been linked into the system
profile /run/current-system/sw and are thus not in my path. For
example, the poppler-utils package results in symlinks in bin and lib
if installed into my user profile via nix-env, but under the system
profile I can see only the library symlinks under lib. I've also
noticed this with other packages, e.g. none of the gtk themes in
gnome-themes-standard show up in share under the system profile, but
they do under the user profile. Can this behaviour be easily explained?
The workaround is obvious, but it would be nice to understand what is
going on.

Many thanks,
Tim
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Some package outputs not linked into the system profile

2015-05-01 Thread Vladimír Čunát
Hi.

On 05/01/2015 09:30 PM, Tim Williams wrote:
 Can this behaviour be easily explained?

Explanation is easy: if a multiple-output derivation is used as a build
input or systemPackages, only the first output is meant (in the current
master).

Until recently, multiple outputs were rather rare, and a better
framework for them is currently brewed in the closure-size branch (by me
mostly so far). I would prefer to address such issues in that branch or
after its eventual merge.

Vladimir




smime.p7s
Description: S/MIME Cryptographic Signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev