haskell-cuda: strip trailing whitespace
This commit is contained in:
parent
32d641d55f
commit
6a0c5a2da2
@ -13,9 +13,9 @@ cabal.mkDerivation (self: {
|
|||||||
# library. GHC's linker fails if the wrong version is found first.
|
# library. GHC's linker fails if the wrong version is found first.
|
||||||
# We solve this by eliminating lib64 from the path on 32-bit
|
# We solve this by eliminating lib64 from the path on 32-bit
|
||||||
# platforms and putting lib64 first on 64-bit platforms.
|
# platforms and putting lib64 first on 64-bit platforms.
|
||||||
|
|
||||||
libPaths = if self.stdenv.is64bit then "lib64 lib" else "lib";
|
libPaths = if self.stdenv.is64bit then "lib64 lib" else "lib";
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
for i in Setup.hs Setup.lhs; do
|
for i in Setup.hs Setup.lhs; do
|
||||||
test -f $i && ghc --make $i
|
test -f $i && ghc --make $i
|
||||||
@ -31,7 +31,7 @@ cabal.mkDerivation (self: {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
./Setup configure --verbose --prefix="$out" $libraryProfiling $extraLibDirs $configureFlags
|
./Setup configure --verbose --prefix="$out" $libraryProfiling $extraLibDirs $configureFlags
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user