haskell: cosmetic changes to the generic builder
This commit is contained in:
parent
830ccafedc
commit
1b0c67259e
1 changed files with 3 additions and 3 deletions
|
@ -330,10 +330,10 @@ stdenv.mkDerivation ({
|
||||||
mkdir -p "$packageConfDir"
|
mkdir -p "$packageConfDir"
|
||||||
${setupCommand} register --gen-pkg-config=$packageConfFile
|
${setupCommand} register --gen-pkg-config=$packageConfFile
|
||||||
if [ -d "$packageConfFile" ]; then
|
if [ -d "$packageConfFile" ]; then
|
||||||
mv "$packageConfFile"/* "$packageConfDir"
|
mv "$packageConfFile/"* "$packageConfDir"
|
||||||
rmdir "$packageConfFile"
|
rmdir "$packageConfFile"
|
||||||
fi
|
fi
|
||||||
for packageConfFile in "$packageConfDir"/*; do
|
for packageConfFile in "$packageConfDir/"*; do
|
||||||
local pkgId=$( ${gnused}/bin/sed -n -e 's|^id: ||p' $packageConfFile )
|
local pkgId=$( ${gnused}/bin/sed -n -e 's|^id: ||p' $packageConfFile )
|
||||||
mv $packageConfFile $packageConfDir/$pkgId.conf
|
mv $packageConfFile $packageConfDir/$pkgId.conf
|
||||||
done
|
done
|
||||||
|
@ -354,7 +354,7 @@ stdenv.mkDerivation ({
|
||||||
''}
|
''}
|
||||||
|
|
||||||
${optionalString enableSeparateDocOutput ''
|
${optionalString enableSeparateDocOutput ''
|
||||||
for x in ${docdir "$doc"}/html/src/*.html; do
|
for x in ${docdir "$doc"}"/html/src/"*.html; do
|
||||||
remove-references-to -t $out $x
|
remove-references-to -t $out $x
|
||||||
done
|
done
|
||||||
mkdir -p $doc
|
mkdir -p $doc
|
||||||
|
|
Loading…
Reference in a new issue