mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
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:
parent
73ce1dd4bb
commit
fc152de1c2
@ -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 ? ""} :
|
||||
|
Loading…
Reference in New Issue
Block a user