From 2e0775e3a84ebf9c57f9b4f946a95ab1e8823729 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Tue, 24 Mar 2015 17:48:53 -0500 Subject: [PATCH] Revert "cc-wrapper: fix missing attribute" This reverts commit 6454b8f9ef71ba6d595d318cc149cb3a63b346e4. --- pkgs/build-support/cc-wrapper/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix index ce11b1ad192..df43da58e3e 100644 --- a/pkgs/build-support/cc-wrapper/default.nix +++ b/pkgs/build-support/cc-wrapper/default.nix @@ -171,7 +171,7 @@ stdenv.mkDerivation { export real_cxx=c++ export default_cxx_stdlib_compile="${ if stdenv.isLinux && !(cc.isGNU or false) - then "-isystem $(echo -n ${cc}/include/c++/*) -isystem $(echo -n ${cc}/include/c++/*)/$(${cc}/bin/gcc -dumpmachine)" + then "-isystem $(echo -n ${cc.gcc}/include/c++/*) -isystem $(echo -n ${cc.gcc}/include/c++/*)/$(${cc.gcc}/bin/gcc -dumpmachine)" else "" }"