2015-04-08 09:53:54 +01:00
|
|
|
{ runCommand, gettext, expat, makeWrapper }:
|
|
|
|
|
|
|
|
runCommand "gettext-expat-${gettext.name}" { buildInputs = [ makeWrapper ]; } ''
|
|
|
|
mkdir $out
|
|
|
|
cp -rf ${gettext}/* $out/
|
|
|
|
chmod a+w $out/bin
|
|
|
|
for p in $out/bin/*; do
|
2015-10-15 12:57:38 +01:00
|
|
|
wrapProgram $p --prefix LD_LIBRARY_PATH : ${expat.out}/lib
|
2015-04-08 09:53:54 +01:00
|
|
|
done
|
|
|
|
''
|