[Nix-dev] What are the rules about 'share/' directory symlinking to profile?

Kevin Cox kevincox at kevincox.ca
Thu Apr 20 11:49:58 CEST 2017


On 20/04/17 10:46, Alexey Lebedeff wrote:
> Hi folks.
>
> What are the rules about how and when 'share/' folder of (multi-output)
> derivation will be merged into 'share/' folder of profile?
>
> E.g. I can't see content of
> https://github.com/NixOS/nixpkgs/blob/4a0be7837cadf9b6e9cae430d80f65a2af60dcc6/pkgs/tools/misc/fzf/default.nix#L33
> anywhere in my profile 'share/' even after installing every output
>
> Only when I move 'share/' to '$bin' output, it starts appearing in profile
> 'share/' folder.

There is a list of hard-coded directories to merge. I have been thinking 
about making it merge all directories but am not decided this is ideal 
since it is also nice to have "private" data that doesn't get "installed".


More information about the nix-dev mailing list