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

11 lines
284 B
Nix
Raw Normal View History

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