diff options
author | Profpatsch <mail@profpatsch.de> | 2019-12-03 19:09:58 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2019-12-04 21:17:01 +0100 |
commit | c5c5465fe4c8007e954ae732a27ab806cca3aab6 (patch) | |
tree | 76f89a473f1422ff5e79287a6ff18fb1318864de /pkgs | |
parent | 64bfaad977c9652c70b89c595ff6759db9eeda29 (diff) | |
download | nixlib-c5c5465fe4c8007e954ae732a27ab806cca3aab6.tar nixlib-c5c5465fe4c8007e954ae732a27ab806cca3aab6.tar.gz nixlib-c5c5465fe4c8007e954ae732a27ab806cca3aab6.tar.bz2 nixlib-c5c5465fe4c8007e954ae732a27ab806cca3aab6.tar.lz nixlib-c5c5465fe4c8007e954ae732a27ab806cca3aab6.tar.xz nixlib-c5c5465fe4c8007e954ae732a27ab806cca3aab6.tar.zst nixlib-c5c5465fe4c8007e954ae732a27ab806cca3aab6.zip |
pkgs/build-support/trivial-builders: remove runCommandCCLocal
We shouldn’t force the user to have a C compiler in scope, just because the derivation is forced to build locally. That can’t be counted as “lightweight” anymore. Co-Authored-By: Silvan Mosberger<contact@infinisil.com>
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/build-support/trivial-builders.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/trivial-builders.nix b/pkgs/build-support/trivial-builders.nix index 263320ca6d9d..5210b7d7ba20 100644 --- a/pkgs/build-support/trivial-builders.nix +++ b/pkgs/build-support/trivial-builders.nix @@ -45,8 +45,8 @@ rec { runCommandNoCCLocal = runCommand' true stdenvNoCC; runCommandCC = runCommand' false stdenv; - runCommandCCLocal = runCommand' true stdenv; - + # `runCommandCCLocal` left out on purpose. + # We shouldn’t force the user to have a cc in scope. /* Writes a text file to the nix store. * The contents of text is added to the file in the store. |