diff --git a/pkgs/misc/my-env/default.nix b/pkgs/misc/my-env/default.nix index 660b757f327..dc729ec557a 100644 --- a/pkgs/misc/my-env/default.nix +++ b/pkgs/misc/my-env/default.nix @@ -14,7 +14,7 @@ # Then you can install it by: # $ nix-env -i sdl-env # And you can load it simply calling: - # $ load-sdl-env + # $ load-env-sdl # and this will update your env vars to have 'make' and 'gcc' finding the SDL # headers and libs. @@ -49,8 +49,8 @@ # 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 + # You can load the environment simply typing a "load-env-${name}" command. + # $ load-env-nix # The result using that command should be: # env-nix loaded and show you a shell with a prefixed prompt. @@ -129,7 +129,7 @@ mkDerivation { mkdir -p $out/bin sed -e s,@shell@,${shell}, -e s,@myenvpath@,$out/dev-envs/${name}, \ - -e s,@name@,${name}, ${./loadenv.sh} > $out/bin/load-${name}-env - chmod +x $out/bin/load-${name}-env + -e s,@name@,${name}, ${./loadenv.sh} > $out/bin/load-env-${name} + chmod +x $out/bin/load-env-${name} ''; }