rewrote the text to make virics and my edits seem like from one author

svn path=/nixpkgs/trunk/; revision=33298
This commit is contained in:
Joachim Schiele 2012-03-20 14:51:18 +00:00
parent 73ce1dd4bb
commit fc152de1c2

View File

@ -11,8 +11,10 @@
};
}
# Then you can install it by: nix-env -i sdl-env
# And you can load it simply calling: load-sdl-env
# Then you can install it by:
# $ nix-env -i sdl-env
# And you can load it simply calling:
# $ load-sdl-env
# and this will update your env vars to have 'make' and 'gcc' finding the SDL
# headers and libs.
@ -44,13 +46,13 @@
};
}
Now we should build our newly defined custom environment using this command on a shell, so type:
$ nix-env -i env-nix
# Now we should build our newly defined custom environment using this command on a shell, so type:
# $ nix-env -i env-nix
You can load the environment simply typing a "load-${name}-env" command.
$ load-nix-env
The result using that command should be:
env-nix loaded
# You can load the environment simply typing a "load-${name}-env" command.
# $ load-nix-env
# The result using that command should be:
# env-nix loaded
*/
{ mkDerivation, substituteAll, pkgs } : { stdenv ? pkgs.stdenv, name, buildInputs ? [], cTags ? [], extraCmds ? ""} :