[Nix-dev] Nar doesn't support hardlinks?

Eelco Dolstra eelco.dolstra at logicblox.com
Tue Apr 29 16:39:23 CEST 2014


Hi,

On 29/04/14 16:34, Peter Simons wrote:

>  > tzdata: use symlinks instead of hardlinks
>  >
>  > Hard links are not handled by nar, so installing from binary cache
>  > unnecessarily duplicates data.
> 
> Huh? Nar archives cannot handle hardlinks? 

Indeed they can't. So you should never rely on hard links to save space in a
package.

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


More information about the nix-dev mailing list