blob: fc6116b391609bbd4d9ce02ce28c15efed96fd0b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
{ 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
wrapProgram $p --prefix LD_LIBRARY_PATH : ${expat}/lib
done
''
|