about summary refs log tree commit diff
path: root/pkgs/build-support/cc-wrapper/default.nix
diff options
context:
space:
mode:
authorJohn Ericson <Ericson2314@yahoo.com>2017-11-08 14:20:48 -0500
committerGitHub <noreply@github.com>2017-11-08 14:20:48 -0500
commit01018567653aaa58bedf6f7ca6a02c6d50910075 (patch)
tree89dcb477933b3f439ef9f43e22e01a2ed360cfb7 /pkgs/build-support/cc-wrapper/default.nix
parent999bcd098da0fc6b16ae769dde95573e6b110844 (diff)
parent4d4f94cde4d3806ca063ebf7e6ba448b0feae355 (diff)
downloadnixlib-01018567653aaa58bedf6f7ca6a02c6d50910075.tar
nixlib-01018567653aaa58bedf6f7ca6a02c6d50910075.tar.gz
nixlib-01018567653aaa58bedf6f7ca6a02c6d50910075.tar.bz2
nixlib-01018567653aaa58bedf6f7ca6a02c6d50910075.tar.lz
nixlib-01018567653aaa58bedf6f7ca6a02c6d50910075.tar.xz
nixlib-01018567653aaa58bedf6f7ca6a02c6d50910075.tar.zst
nixlib-01018567653aaa58bedf6f7ca6a02c6d50910075.zip
Merge pull request #30549 from obsidiansystems/bintools
treewide: Introduce stdenv.cc.bintools
Diffstat (limited to 'pkgs/build-support/cc-wrapper/default.nix')
-rw-r--r--pkgs/build-support/cc-wrapper/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix
index a12c835dd9bf..8d8b8a42fe9f 100644
--- a/pkgs/build-support/cc-wrapper/default.nix
+++ b/pkgs/build-support/cc-wrapper/default.nix
@@ -97,6 +97,11 @@ stdenv.mkDerivation {
   outputs = [ "out" "man" ];
 
   passthru = {
+    # "cc" is the generic name for a C compiler, but there is no one for package
+    # providing the linker and related tools. The two we use now are GNU
+    # Binutils, and Apple's "cctools"; "binutils" as an attempt to find an
+    # unused middle-ground name that evokes both.
+    bintools = binutils_bin;
     inherit libc nativeTools nativeLibc nativePrefix isGNU isClang default_cxx_stdlib_compile
             prefix;