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
This commit is contained in:
parent
fe1115caf4
commit
914a042d7d
@ -13,8 +13,8 @@
|
|||||||
|
|
||||||
# Then you can install it by: nix-env -i sdl-env
|
# Then you can install it by: nix-env -i sdl-env
|
||||||
# And you can load it simply calling: load-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.
|
# and this will update your env vars to have 'make' and 'gcc' finding the SDL
|
||||||
# Type 'exit', and you will exit it
|
# headers and libs.
|
||||||
|
|
||||||
|
|
||||||
##### Another example, more complicated but achieving more: #######
|
##### 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:
|
Now we should build our newly defined custom environment using this command on a shell, so type:
|
||||||
$ nix-env -i env-nix
|
$ 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
|
$ load-nix-env
|
||||||
The result using either command should be:
|
The result using that command should be:
|
||||||
env-nix loaded
|
env-nix loaded
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user