[Nix-dev] Why is unpackPhase special?

Eelco Dolstra eelco at cs.uu.nl
Mon Aug 13 18:15:09 CEST 2007


Marc Weber wrote:
> unpackPhase is special because you can't omit it.

The only reason it's special is because of the "cd", so if you put the "cd" in
unpackPhase then indeed this is no longer necessary :-)

There are a handful of packages in Nixpkgs which override unpackPhase and
sourceRoot (lsof at least), so those would have to be updated.

-- 
Eelco Dolstra | http://www.cs.uu.nl/~eelco



More information about the nix-dev mailing list