git.iko.soy/typeable/nixpkgs
on master help sign in
cudatoolkit: Fix gcc -> cc

Urgh, we shouldn't have renamed gcc to cc...

commit97fcb33ac2a148ecb315935bf4d430e44e1ea6f9 authorEelco Dolstra <eelco.dolstra@logicblox.com> dateWed 4 Mar 2015, 22:08 (12 years ago) parent829479d
1 file changed+3−3
pkgs/development/compilers/cudatoolkit/6.5.nix+3−3
pkgs/development/compilers/cudatoolkit/6.5.nix+3−3
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828 gtk2 glib fontconfig freetype unixODBC alsaLib
2929 ];
3030
31− rpath = "${stdenv.lib.makeLibraryPath runtimeDependencies}:${stdenv.gcc.gcc}/lib64";
31+ rpath = "${stdenv.lib.makeLibraryPath runtimeDependencies}:${stdenv.cc.cc}/lib64";
3232
3333 unpackPhase = ''
3434 sh $src --keep --noexec
@@ -40,10 +40,10 @@ stdenv.mkDerivation rec {
4040
4141 buildPhase = ''
4242 find . -type f -executable -exec patchelf \
43− --set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
43+ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
4444 '{}' \; || true
4545 find . -type f -exec patchelf \
46− --set-rpath $rpath:$out/jre/lib/amd64/jli:$out/lib:$out/lib64:$out/nvvm/lib:$out/nvvm/lib64:$(cat $NIX_GCC/nix-support/orig-gcc)/lib \
46+ --set-rpath $rpath:$out/jre/lib/amd64/jli:$out/lib:$out/lib64:$out/nvvm/lib:$out/nvvm/lib64:$(cat $NIX_CC/nix-support/orig-cc)/lib \
4747 --force-rpath \
4848 '{}' \; || true
4949 '';