aboutsummaryrefslogtreecommitdiff
path: root/pkgs/misc/my-env
diff options
context:
space:
mode:
authorJoachim Schiele <js@lastlog.de>2012-03-20 14:51:18 +0000
committerJoachim Schiele <js@lastlog.de>2012-03-20 14:51:18 +0000
commitfc152de1c2c42bd02776908b07abc040080fe0cc (patch)
tree31cb5f8c918363733cc6a8e0e85bf15d27145be7 /pkgs/misc/my-env
parent73ce1dd4bb15b8a3f7f71c798efcc0b676cf7dcd (diff)
rewrote the text to make virics and my edits seem like from one author
svn path=/nixpkgs/trunk/; revision=33298
Diffstat (limited to 'pkgs/misc/my-env')
-rw-r--r--pkgs/misc/my-env/default.nix18
1 files changed, 10 insertions, 8 deletions
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 ? ""} :