[Nix-dev] subversion expression broken

Lluís Batlle viriketo at gmail.com
Fri Oct 2 20:36:20 CEST 2009


2009/10/2 Peter Simons <simons at cryp.to>:
> Hi,
>
> when trying to build subversion, I get the following (somewhat
> unhelpful) error message:
>
>  $ nix-env -i -A subversion
>  error: attribute `subversion' in selection path `subversion' not found
As Nicolas pointed, if you don't specify "-f" to nix-env, you should
look at the directories under ~/.nix-defexpr, and consider any
directory an attribute as in the attribute path.

>  peti:~$ nix-env -i subversion --show-trace
>  error: value is a list while a string was expected
This even may not be related to subversion, because not using "-A"
causes nix-instantiate to evaluate all the possible derivations to get
their names, and if any of them has a problem, the whole attempt will
end in error.

That kind of error, anyway, without any clue on what file/what line is
quite annoying, if even --show-trace was added. Maybe Eelco Dolstra
can get it to be more helpful.

Regards,
Lluís.



More information about the nix-dev mailing list