haskell-generic-builder: fix syntax high-lightning in Emacs
This commit is contained in:
parent
e69c7f5641
commit
27ca0cb3d4
@ -231,11 +231,11 @@ stdenv.mkDerivation ({
|
||||
# libraries) from all the dependencies.
|
||||
local dynamicLinksDir="$out/lib/links"
|
||||
mkdir -p $dynamicLinksDir
|
||||
for d in $(grep dynamic-library-dirs $packageConfDir/*|awk '{print $2}'); do
|
||||
ln -s $d/*.dylib $dynamicLinksDir
|
||||
for d in $(grep dynamic-library-dirs "$packageConfDir/"*|awk '{print $2}'); do
|
||||
ln -s "$d/"*.dylib $dynamicLinksDir
|
||||
done
|
||||
# Edit the local package DB to reference the links directory.
|
||||
for f in $packageConfDir/*.conf; do
|
||||
for f in "$packageConfDir/"*.conf; do
|
||||
sed -i "s,dynamic-library-dirs: .*,dynamic-library-dirs: $dynamicLinksDir," $f
|
||||
done
|
||||
'') + ''
|
||||
|
Loading…
Reference in New Issue
Block a user