ccache: create symlinks to gcc lib & include in ccache-links directory
This patch fixes compilation errors when using ccache wrapper: ``` cc1: error: /nix/store/19vvbsjs6l6j0r22albzhysxfvr94imf-ccache-links/lib/gcc/*/*/include-fixed: No such file or directory ```
This commit is contained in:
parent
84c3b5f71f
commit
cbe786a530
@ -49,6 +49,9 @@ stdenv.mkDerivation {
|
||||
ln -s ${gcc.cc}/bin/$executable $out/bin/$executable
|
||||
fi
|
||||
done
|
||||
for file in $(ls ${gcc.cc} | grep -vw bin); do
|
||||
ln -s ${gcc.cc}/$file $out/$file
|
||||
done
|
||||
'');
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user