cudatoolkit: fixup path to samples
This is needed for cuda 6.5 or else nsight will not find them. In cuda 7.0 the samples are already in $out/samples. Older versions do not build due to broken dependency (python-minimal).
This commit is contained in:
parent
8f2ddf98f2
commit
836fa19651
@ -63,6 +63,11 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
# let's remove the 32-bit libraries, they confuse the lib64->lib mover
|
||||
rm -rf $out/lib
|
||||
|
||||
# Fixup path to samples (needed for cuda 6.5 or else nsight will not find them)
|
||||
if [ -d "$out"/cuda-samples ]; then
|
||||
mv "$out"/cuda-samples "$out"/samples
|
||||
fi
|
||||
'';
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
Loading…
Reference in New Issue
Block a user