runCommandNoCC: deprecate

It has been synonymous with runCommand ~5y.
This commit is contained in:
Robert Hensing 2021-08-15 17:21:15 +02:00
parent a13aa64bd3
commit 9feb144c8c
2 changed files with 4 additions and 5 deletions

View File

@ -24,16 +24,13 @@ rec {
* `allowSubstitutes = false;`
* to a derivations attributes.
*/
runCommand = runCommandNoCC;
runCommandLocal = runCommandNoCCLocal;
runCommandNoCC = name: env: runCommandWith {
runCommand = name: env: runCommandWith {
stdenv = stdenvNoCC;
runLocal = false;
inherit name;
derivationArgs = env;
};
runCommandNoCCLocal = name: env: runCommandWith {
runCommandLocal = name: env: runCommandWith {
stdenv = stdenvNoCC;
runLocal = true;
inherit name;

View File

@ -728,6 +728,8 @@ mapAliases ({
rubyPackages_2_5 = throw "rubyPackages_2_5 was deprecated in 2021-02: use a newer version of rubyPackages instead";
rubygems = throw "rubygems was deprecated on 2016-03-02: rubygems is now bundled with ruby";
rubyMinimal = throw "rubyMinimal was removed due to being unused";
runCommandNoCC = lib.warn "runCommandNoCC is deprecated. Use the equivalent runCommand function instead." runCommand;
runCommandNoCCLocal = lib.warn "runCommandNoCCLocal is deprecated. Use the equivalent runCommandLocal function instead." runCommandLocal;
runwayml = throw "runwayml is now a webapp"; # added 2021-04-17
rxvt_unicode-with-plugins = rxvt-unicode; # added 2020-02-02
rxvt_unicode = rxvt-unicode-unwrapped; # added 2020-02-02