Author: viric Date: Wed Mar 14 23:07:59 2012 New Revision: 33093 URL: https://nixos.org/websvn/nix/?rev=33093&sc=1
Log: Fixing some details about the myEnv documentation. I thought load-xxx-eenv worked like my own private 'loadenv' script, but looks like not. Modified: nixpkgs/trunk/pkgs/misc/my-env/default.nix Modified: nixpkgs/trunk/pkgs/misc/my-env/default.nix ============================================================================== --- nixpkgs/trunk/pkgs/misc/my-env/default.nix Wed Mar 14 22:44:52 2012 (r33092) +++ nixpkgs/trunk/pkgs/misc/my-env/default.nix Wed Mar 14 23:07:59 2012 (r33093) @@ -13,8 +13,8 @@ # Then you can install it by: nix-env -i sdl-env # And you can load it simply calling: load-sdl-env - # and in the new shell spawn you will have 'make' and 'gcc' finding the SDL headers and libs. - # Type 'exit', and you will exit it + # and this will update your env vars to have 'make' and 'gcc' finding the SDL + # headers and libs. ##### Another example, more complicated but achieving more: ####### @@ -47,9 +47,9 @@ Now we should build our newly defined custom environment using this command on a shell, so type: $ nix-env -i env-nix - One could also use this function instead: + You can load the environment simply typing a "load-${name}-env" command. $ load-nix-env - The result using either command should be: + The result using that command should be: env-nix loaded */ _______________________________________________ nix-commits mailing list nix-comm...@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-commits