Re: [Nix-dev] nix-shell unpackPhase does not work on my system

2015-08-21 Thread Massimo Zaniboni
Only for reference in case someone is reading this thread: I opened an issue at https://github.com/NixOS/nixpkgs/issues/9393 On 20/08/2015 19:05, Massimo Zaniboni wrote: Hi, if I *not install* nix-env -i bash and I execute the command nix-shell 'nixpkgs' -A hello I don't enter

Re: [Nix-dev] nix-shell unpackPhase does not work on my system

2015-08-20 Thread Massimo Zaniboni
Hi, if I *not install* nix-env -i bash and I execute the command nix-shell 'nixpkgs' -A hello I don't enter into a nix-shell environment, but there is no error message, and also echo $? 0 signals that it is all ok. But this is not the case, because the nix-shell never started:

Re: [Nix-dev] nix-shell unpackPhase does not work on my system

2015-08-20 Thread Massimo Zaniboni
On 20/08/2015 18:30, Tomasz Kontusz wrote: After unpackPhase you have to enter the unpacked source directory, then you can run configurePhase Yes you are right, but I copied in a bad way my error reporting problem. The problem persist also if I execute cd hello-2.10 as you correctly

Re: [Nix-dev] nix-shell unpackPhase does not work on my system

2015-08-20 Thread Tomasz Kontusz
After unpackPhase you have to enter the unpacked source directory, then you can run configurePhase Dnia 20 sierpnia 2015 18:13:49 CEST, Massimo Zaniboni massimo.zanib...@gmail.com napisaƂ(a): But on my Mint system, the nix-shell does not see the configurePhase and all other *Phase commands.

[Nix-dev] nix-shell unpackPhase does not work on my system

2015-08-20 Thread Massimo Zaniboni
Hi, I'm a newbie of Nix. On NixOS installed on a VM these commands are ok: nix-shell 'nixpkgs' -A hello unpackPhase configurePhase buildPhase On my laptop I'm using Nix on top of a Mint (Ubuntu based) system, because hardware recognition is better than NixOS, and I don't need

Re: [Nix-dev] nix-shell unpackPhase does not work on my system

2015-08-20 Thread Massimo Zaniboni
Problem fixed :-) But the solution is a little strange, and I don't know if it is better improving the Wiki. I installed the bash of Nix nix-env -i bash Then I executed bash Then nix-shell is working nix-shell 'nixpkgs' -A hello unpackPhase configurePhase buildPhase On