[Nix-dev] Re: is the default builder able to deal with fetchurl being given a tar.xz archive?

Ludovic Courtès ludo at gnu.org
Mon Jul 20 16:17:16 CEST 2009


Hi,

Currently, the guideline for `stdenv' has been that any compressor
beyond bzip2 and gzip must be added manually as a build input.

For instance, `stdenv' knows about `.zip' files, but `unzip' must
explicitly be added as a build input.  It doesn't know at all about
`.lzma', so one has to pass `lzma' as a build input *and* override
`unpackPhase'.  The same applies to `.xz'.

Thanks,
Ludo'.




More information about the nix-dev mailing list