mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
Merge pull request #234053 from ConnorBaker/fix/cudatoolkit_11_8-broken-symlink
cudaPackages_11_8.cudatoolkit: remove broken include/include symlink
This commit is contained in:
commit
ef24799942
|
@ -291,6 +291,10 @@ backendStdenv.mkDerivation rec {
|
||||||
'' + lib.optionalString (lib.versionOlder version "8.0") ''
|
'' + lib.optionalString (lib.versionOlder version "8.0") ''
|
||||||
# Hack to fix building against recent Glibc/GCC.
|
# Hack to fix building against recent Glibc/GCC.
|
||||||
echo "NIX_CFLAGS_COMPILE+=' -D_FORCE_INLINES'" >> $out/nix-support/setup-hook
|
echo "NIX_CFLAGS_COMPILE+=' -D_FORCE_INLINES'" >> $out/nix-support/setup-hook
|
||||||
|
''
|
||||||
|
# 11.8 includes a broken symlink, include/include, pointing to targets/x86_64-linux/include
|
||||||
|
+ lib.optionalString (lib.versions.majorMinor version == "11.8") ''
|
||||||
|
rm $out/include/include
|
||||||
'' + ''
|
'' + ''
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue