diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-03-14 23:07:59 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-03-14 23:07:59 +0000 |
commit | 914a042d7da834bbb8f51786b43dd729fc62bd93 (patch) | |
tree | b26e24ee6a87af9bc6032475567854f41c6f842f /pkgs/misc/my-env | |
parent | fe1115caf48a467349127723a0e60b106433a076 (diff) |
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
Diffstat (limited to 'pkgs/misc/my-env')
-rw-r--r-- | pkgs/misc/my-env/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/misc/my-env/default.nix b/pkgs/misc/my-env/default.nix index 65d8feb9ede9..f81b745a83a9 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 */ |