forked from mirrors/nixpkgs
cc-wrapper: fix missing attribute
This commit is contained in:
parent
9c579f691f
commit
6454b8f9ef
|
@ -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.gcc}/include/c++/*) -isystem $(echo -n ${cc.gcc}/include/c++/*)/$(${cc.gcc}/bin/gcc -dumpmachine)"
|
||||
then "-isystem $(echo -n ${cc}/include/c++/*) -isystem $(echo -n ${cc}/include/c++/*)/$(${cc}/bin/gcc -dumpmachine)"
|
||||
else ""
|
||||
}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue