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"
|
||||
${setupCommand} register --gen-pkg-config=$packageConfFile
|
||||
if [ -d "$packageConfFile" ]; then
|
||||
mv "$packageConfFile"/* "$packageConfDir"
|
||||
mv "$packageConfFile/"* "$packageConfDir"
|
||||
rmdir "$packageConfFile"
|
||||
fi
|
||||
for packageConfFile in "$packageConfDir"/*; do
|
||||
for packageConfFile in "$packageConfDir/"*; do
|
||||
local pkgId=$( ${gnused}/bin/sed -n -e 's|^id: ||p' $packageConfFile )
|
||||
mv $packageConfFile $packageConfDir/$pkgId.conf
|
||||
done
|
||||
|
@ -354,7 +354,7 @@ stdenv.mkDerivation ({
|
|||
''}
|
||||
|
||||
${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
|
||||
done
|
||||
mkdir -p $doc
|
||||
|
|
Loading…
Reference in a new issue