diff --git a/pkgs/misc/my-env/default.nix b/pkgs/misc/my-env/default.nix index 200485eea63a..ab1eff9bf33b 100644 --- a/pkgs/misc/my-env/default.nix +++ b/pkgs/misc/my-env/default.nix @@ -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 ? ""} :