runCommandNoCC: deprecate
It has been synonymous with runCommand ~5y.
This commit is contained in:
parent
a13aa64bd3
commit
9feb144c8c
2 changed files with 4 additions and 5 deletions
|
@ -24,16 +24,13 @@ rec {
|
||||||
* `allowSubstitutes = false;`
|
* `allowSubstitutes = false;`
|
||||||
* to a derivation’s attributes.
|
* to a derivation’s attributes.
|
||||||
*/
|
*/
|
||||||
runCommand = runCommandNoCC;
|
runCommand = name: env: runCommandWith {
|
||||||
runCommandLocal = runCommandNoCCLocal;
|
|
||||||
|
|
||||||
runCommandNoCC = name: env: runCommandWith {
|
|
||||||
stdenv = stdenvNoCC;
|
stdenv = stdenvNoCC;
|
||||||
runLocal = false;
|
runLocal = false;
|
||||||
inherit name;
|
inherit name;
|
||||||
derivationArgs = env;
|
derivationArgs = env;
|
||||||
};
|
};
|
||||||
runCommandNoCCLocal = name: env: runCommandWith {
|
runCommandLocal = name: env: runCommandWith {
|
||||||
stdenv = stdenvNoCC;
|
stdenv = stdenvNoCC;
|
||||||
runLocal = true;
|
runLocal = true;
|
||||||
inherit name;
|
inherit name;
|
||||||
|
|
|
@ -728,6 +728,8 @@ mapAliases ({
|
||||||
rubyPackages_2_5 = throw "rubyPackages_2_5 was deprecated in 2021-02: use a newer version of rubyPackages instead";
|
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";
|
rubygems = throw "rubygems was deprecated on 2016-03-02: rubygems is now bundled with ruby";
|
||||||
rubyMinimal = throw "rubyMinimal was removed due to being unused";
|
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
|
runwayml = throw "runwayml is now a webapp"; # added 2021-04-17
|
||||||
rxvt_unicode-with-plugins = rxvt-unicode; # added 2020-02-02
|
rxvt_unicode-with-plugins = rxvt-unicode; # added 2020-02-02
|
||||||
rxvt_unicode = rxvt-unicode-unwrapped; # added 2020-02-02
|
rxvt_unicode = rxvt-unicode-unwrapped; # added 2020-02-02
|
||||||
|
|
Loading…
Reference in a new issue