nixpkgs/pkgs/development/libraries/gettext/expat.nix

11 lines
288 B
Nix
Raw Normal View History

2015-04-08 10:53:54 +02: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 13:57:38 +02:00
wrapProgram $p --prefix LD_LIBRARY_PATH : ${expat.out}/lib
2015-04-08 10:53:54 +02:00
done
''