-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bárður Árantsson wrote: |> I do not use nix-env much, most of the time I install packages via |> extraPackages in configuration.nix (I use NixOS). | | I know that this may be a bit premature given the current NixOS version | numbers, but is that typical?
I'd say that that way should work anyway, because it is the way to install an obviously needed, always updated system-wide package. I use that way for easier full updates (and for having a comfortable list of installed packages as a side-effect). | Isn't one 'supposed' to use nix-env to install things? (... so that Nix | handles all the symlinking magic for you). Well, the mechanism only differs in that by default Nix symlinks lib/ to local profile, but not to /var/run/current-system. nix-env does not create symlinks in ~ outside ~/.nix-profile | > Putting files in share/ means they will appear in | /var/run/current-system/sw/share, so I can make symlink pointing at | /var/run/current-system/sw/share/bzrtools and put it in ~/.bazaar/plugins | | I don't see how putting them in lib/python2.5/site-packages/bzrlib | prevents symlinking from ~/.bazaar/plugins...? lib/ is not symlinked into /var/run/current-system | Instead you'd just symlink from ~/.bazaar/plugins to | .nix-profile/lib/python2.5/site-packages/bzrlib. (Or alternatively | /var/run/current-system/sw/lib/python2.5/... if you've installer | bzrtools in the system profile.) | Sure you'd have to use nix-env -i, but as far as I understand the manual | that's what users are supposed to do when they want to use a package. Well, I consider my installations system-wide, and extraPackages is for that. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEcBAEBAgAGBQJIY/PsAAoJEE6tnN0aWvw3uJ0IAKYKMy/TX14BO3L2AR0Jhj9G hF+J6cY4l4TqJ7d5+AqwTxjccgevSu/dOt/g2270Pdnz13QSphHjXeuWZN/sFrWw 7cPInKRt64UNBfnjkjqqNG5CvP2F64J8s5jB+No8CktKV2vbBdV1UbxG38Ol5Y+2 XERpgLRfRePLhlPnuOn0eQLkHhsPUDcx2nEYwu8hhoNiGoclGE1udEBiY1tQsPH2 pYyMLuLca6aGtu10KNiRPn2NQqWLJ1zoWQH8yR7jSvZ8EMk8o88FYlAFDeGq100x Bd1vh/oBXYVFpdsLveHyy9ATPQLgkyy1CWIU0Zr02E96uxnGoasw+bRYWXLNjLQ= =p/UF -----END PGP SIGNATURE----- _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
