-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/10/2010 07:04 PM, Bryan Murdock wrote: > The most intriguing feature of nixos for me is being able to have > multiple versions of the same software installed. I just got nixos > running as a virtualbox guest and that's the first thing I tried and > it didn't work. I installed emacs 23: > > nix-env -i emacs-23.2 > > and that worked just fine. Then I tried to install emacs 22: > > nix-env --preserve-installed -i emacs-22.3
Well, here you ask Nix not just to have these packages installed, but to have them installed in the same environment. In this case it is impossible to decide what should be "emacs" in the Nix profile (the symlink set managed by nix-env) - Emacs 22 or Emacs 23. If you run: nix-build /etc/nixos/nixpkgs -A emacs22 -o emacs22 nix-build /etc/nixos/nixpkgs -A emacs23 -o emacs23 ./emacs22/bin/emacs ./emacs23/bin/emacs You will get two different versions of Emacs. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJMOJHDAAoJEE6tnN0aWvw3+cEH/2ePdwlJ3TS7QJW+RzP5Hto+ WBV30zwfTZMfRjSSBAvSpzhnU8XR7daHuv0XDtD457Av6Kcmk7H5//EPpmUE9Hlw zZfIaqFbgx+JuaEHJsJdxjE23uRf2rlp6jYden5vfNjwlFhVtN+mpAgNyDlgyvKV R1jQZdUF6oOe6CbLziYmyNt4RxUYsWHzA5U1o9O6+TiFzCud0RlXnjUA3EKxNM54 7/NxNUAPXfydhNSUUMzP+L/4gRSc5C/L8WB3rv58JGStufdndq2MGLpK5cdGxuiW 8JU9oPOF8nHRomyVgFb545gpqSqK4Iowc9Wqe10nrMozrix8pVn4WREW6pJaK+g= =B+Bp -----END PGP SIGNATURE----- _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
