[Nix-dev] nix-shell does not work???

Matthias Beyer mail at beyermatthias.de
Sun Jul 17 16:45:49 CEST 2016


I just verified this:

    echo $PATH | sha1sum
    a439474de411c2baec5dc5fad9d9c11180c7558b

    nix-shell -p beancount # a program I do not have installed... it 
    # gets downloaded after I called this...

    echo $PATH | sha1sum
    a439474de411c2baec5dc5fad9d9c11180c7558b

Of course, beancount is not in scope after calling nix-shell.

This is on:

    * System: 16.09pre85931.125ffff (Flounder)
    * Nix version: nix-env (Nix) 1.11.2
    * Nixpkgs version: "16.09pre85931.125ffff"

Should I submit this to nix/nixpkgs?

On 11-07-2016 12:58:47, Matthias Beyer wrote:
> Nope, this is on nixos with nixos-unstable channel.
> 
> On 11-07-2016 11:53:26, Bjørn Forsman wrote:
> > On Jul 11, 2016 11:26, "Matthias Beyer" <mail at beyermatthias.de> wrote:
> > >
> > > Hi,
> > >
> > > I'm on nixos unstable channel. I just did
> > >
> > >     nix-shell -p calcurse
> > >
> > > it gives me a shell (though it keeps my prompt and doesn't override it
> > > as I would expect with nix-shell)
> > >
> > > and calcurse is not available in the shell.
> > >
> > > Did I just ran into a bug with nix-shell?
> > 
> > Is this on non-NixOS? I think I saw something about that in the nix issue
> > tracker. Some host bashrc file is sourced and breaks nix-shell.
> > 
> > - Bjørn
> 
> -- 
> Mit freundlichen Grüßen,
> Kind regards,
> Matthias Beyer
> 
> Proudly sent with mutt.
> Happily signed with gnupg.



-- 
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Proudly sent with mutt.
Happily signed with gnupg.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160717/50849d71/attachment.sig>


More information about the nix-dev mailing list