[Nix-dev] mkDefault behaviour

Eelco Dolstra eelco.dolstra at logicblox.com
Fri Jun 26 20:48:07 CEST 2015


Hi,

On 26/06/15 20:40, Joel Moberg wrote:

> Sorry this had nothing to do with mkDefault. But I would still like to know why
> this is happening and why I need to build extra packages.

This is because the minimal profile has this line:

  environment.noXlibs = mkDefault true;

which in turn triggers:

   nixpkgs.config.packageOverrides = pkgs:
      { dbus = pkgs.dbus.override { useX11 = false; }; };

which means that anything depending on dbus needs to be rebuilt.

We probably could be smarter about this (e.g. by only rebuilding dbus.daemon
without X11).

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list