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

svn path=/nixpkgs/trunk/; revision=33298

+10 -8
+10 -8
pkgs/misc/my-env/default.nix
··· 11 11 }; 12 12 } 13 13 14 - # Then you can install it by: nix-env -i sdl-env 15 - # And you can load it simply calling: load-sdl-env 14 + # Then you can install it by: 15 + # $ nix-env -i sdl-env 16 + # And you can load it simply calling: 17 + # $ load-sdl-env 16 18 # and this will update your env vars to have 'make' and 'gcc' finding the SDL 17 19 # headers and libs. 18 20 ··· 44 46 }; 45 47 } 46 48 47 - Now we should build our newly defined custom environment using this command on a shell, so type: 48 - $ nix-env -i env-nix 49 + # Now we should build our newly defined custom environment using this command on a shell, so type: 50 + # $ nix-env -i env-nix 49 51 50 - You can load the environment simply typing a "load-${name}-env" command. 51 - $ load-nix-env 52 - The result using that command should be: 53 - env-nix loaded 52 + # You can load the environment simply typing a "load-${name}-env" command. 53 + # $ load-nix-env 54 + # The result using that command should be: 55 + # env-nix loaded 54 56 */ 55 57 56 58 { mkDerivation, substituteAll, pkgs } : { stdenv ? pkgs.stdenv, name, buildInputs ? [], cTags ? [], extraCmds ? ""} :