@@ -65,14 +65,11 @@ cudaConfigurePhase = unlines
6565 , "# library. GHC's linker fails if the wrong version is found first."
6666 , "# We solve this by eliminating lib64 from the path on 32-bit"
6767 , "# platforms and putting lib64 first on 64-bit platforms."
68− , ""
6968 , "libPaths = if self.stdenv.is64bit then \"lib64 lib\" else \"lib\";"
70− , ""
7169 , "configurePhase = ''"
7270 , " for i in Setup.hs Setup.lhs; do"
7371 , " test -f $i && ghc --make $i"
7472 , " done"
75− , ""
7673 , " for p in $extraBuildInputs $propagatedBuildNativeInputs; do"
7774 , " if [ -d \"$p/include\" ]; then"
7875 , " extraLibDirs=\"$extraLibDirs --extra-include-dir=$p/include\""
@@ -83,7 +80,6 @@ cudaConfigurePhase = unlines
8380 , " fi"
8481 , " done"
8582 , " done"
86− , ""
8783 , " ./Setup configure --verbose --prefix=\"$out\" $libraryProfiling $extraLibDirs $configureFlags"
8884 , "'';"
8985 ]