10 lines
288 B
Nix
10 lines
288 B
Nix
{ 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.out}/lib
|
|
done
|
|
''
|