Hi!

Nikita Karetnikov <[email protected]> skribis:

> I'm trying to install several versions of GHC.  There are two
> problems:
>
> 1. According to this page [1], it should be possible to use multiple
>    versions at once.  But 'nix-env -iA' always replaces the previous
>    version.  For example, if I run the following commands:
>
>    # nix-env -iA nixpkgs.haskellPackages_ghc6104.ghc
>    # nix-env -iA nixpkgs.haskellPackages_ghc762.ghc
>
>    my profile will only contain 'ghc-7.6.2', not both.

Yes.  I believe it’s not possible to install both at the same time,
because nix-env will only keep one thing called ‘ghc’.

[...]

>    /nix/store/f2rwkyd9yb6s5cdvmy7ydh9yd5bqd1hi-stdenv/setup: ./configure: 
> /bin/sh: bad interpreter: No such file or directory

[...]

>    build-chroot-dirs = /dev /proc /bin

Could it be that /bin/sh is a symlink whose target is not in the chroot?

Ludo’.

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to