ghc prebuilt: Fix indentation

Doing this separately so the other commits are more readable
This commit is contained in:
John Ericson 2017-09-22 13:45:31 -04:00
parent a8ef3f6742
commit 2d52156793
3 changed files with 117 additions and 119 deletions

View File

@ -60,8 +60,7 @@ stdenv.mkDerivation rec {
# calls install-strip ...
dontBuild = true;
postInstall =
''
postInstall = ''
# bah, the passing gmp doesn't work, so let's add it to the final package.conf in a quick but dirty way
sed -i "s@^\(.*pkgName = PackageName \"rts\".*\libraryDirs = \\[\)\(.*\)@\\1\"${gmp.out}/lib\",\2@" $out/lib/ghc-${version}/package.conf

View File

@ -101,8 +101,7 @@ stdenv.mkDerivation rec {
# calls install-strip ...
dontBuild = true;
postInstall =
''
postInstall = ''
# Sanity check, can ghc create executables?
cd $TMP
mkdir test-ghc; cd test-ghc