[Nix-dev] bug? nix-env -qa doesnt find what it should

Lluís Batlle viriketo at gmail.com
Sun Jun 7 13:31:25 CEST 2009


I don't know what the nix developer intended to do, but I think nix
never worked for me as a 'grep' after -qa '*'.
If you looked for "nix-env -qa apache-tomcat", it would have worked. I
think it tries to fully match the non-version part of a derivation
name.

Regards,
Lluís.

2009/6/6 Axel Grosz <axel+enamg at iaeste.at>:
> $ nix-env -qa tomcat
> error: selector `tomcat' matches no derivations
> $ nix-env -qa 'tomcat*'
> error: selector `tomcat*' matches no derivations
> $ nix-env -qa '*' | grep tomcat
> apache-tomcat-6.0.18
> jakarta-tomcat-5.0.27
> tomcat-connectors-1.2.26
> tomcat-mysql-jdbc
>
> thats on nix-0.13pre15214 on an ubuntu 8.10
> the nix-0.12 did work correctly if i remember right
> my system:
> <item attrPath="nixpkgs_stable.nixUnstable" installed="1"
> name="nix-0.13pre15214" substitutable="1" system="x86_64-linux" valid="1">
>
> --
> regards,
> Axel Gross
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>



More information about the nix-dev mailing list