From 914a042d7da834bbb8f51786b43dd729fc62bd93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Wed, 14 Mar 2012 23:07:59 +0000 Subject: [PATCH] Fixing some details about the myEnv documentation. I thought load-xxx-eenv worked like my own private 'loadenv' script, but looks like not. svn path=/nixpkgs/trunk/; revision=33093 --- pkgs/misc/my-env/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/misc/my-env/default.nix b/pkgs/misc/my-env/default.nix index 65d8feb9ede..f81b745a83a 100644 --- a/pkgs/misc/my-env/default.nix +++ b/pkgs/misc/my-env/default.nix @@ -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 */