[Nix-dev] nix-shell is unable to install the package which nix-env just returned

Dmitry Malikov malikov.d.y at gmail.com
Thu Mar 31 11:25:52 CEST 2016


>> nix-shell -p nixpkgs.pkgs.letsencrypt
error: undefined variable ‘nixpkgs’ at (string):1:66
(use ‘--show-trace’ to show detailed location information)

Any other ideas?

On 31 March 2016 at 10:37, Arseniy Seroka <ars.seroka at gmail.com> wrote:

> nix-shell -p nixpkgs.pkgs.letsencrypt
>
> --
> Sincerely,
> Arseniy Seroka
>
> On 31 March 2016 02:21:40 Dmitry Malikov <malikov.d.y at gmail.com> wrote:
>
>> >> sudo nix-channel --list
>> nixpkgs https://nixos.org/channels/nixpkgs-unstable
>> nixos https://nixos.org/channels/nixos-15.09
>>
>> >> nixos-version
>> 15.09.1180.e8e1cb8 (Dingo)
>>
>> >> nix-env --version
>> nix-env (Nix) 1.10
>>
>> Anything else?
>>
>> On 31 Mar 2016, at 00:45, Jonn Mostovoy <jm at memorici.de> wrote:
>>
>> Just worked for me, exactly the same command.
>> My version of nixpkgs is way older though.
>> On Mar 31, 2016 12:40 AM, "Dmitry Malikov" <malikov.d.y at gmail.com> wrote:
>>
>>> >>
>>> nix-env -qaP '*' | grep letsencrypt
>>> nixpkgs.letsencrypt
>>> letsencrypt-0.4.0
>>>
>>> >> nix-shell -p letsencrypt
>>> error: undefined variable ‘letsencrypt’ at (string):1:66
>>> (use ‘--show-trace’ to show detailed location information)
>>>
>>>
>>> What am I missing here?
>>>
>>> _______________________________________________
>>> nix-dev mailing list
>>> nix-dev at lists.science.uu.nl
>>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>>
>>>
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160331/753b83bd/attachment.html 


More information about the nix-dev mailing list