Sat Nov 18 10:50:42 EST 2017

missing man pages

"nix-env -i nix" did install it in the store:

tom@phoo:/nix/store$ find -name nix-env.1.gz

but it is not accessible from the profile

I have no idea how to make sure this ends up in the profile.

After running "nix-collect-garbage" the file is gone.

It seems this has something to do with the original LXC setup.

On zora, the man page is installed in:


Check this out:



self: super:                                                                                                                                                                    
  # add man to the outputs to install for nix                                                                                                                                   
  nix = super.nix.overrideAttrs (oldAttrs: {                                                                                                                                    
     meta = oldAttrs.meta // {                                                                                                                                                  
       outputsToInstall = [ "out" "man" ];                                                                                                                                      

tom@ph:~/.config$ ln -s ../dot/config/nixpkgs .

Ok that worked.

So what is an overlay?
https://nixos.org/nixpkgs/manual/  (grep for "overlay")