1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/development/libraries/gettext/expat.nix
2015-04-25 11:48:23 +02:00

11 lines
284 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}/lib
done
''