diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2015-05-05 11:49:03 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-05-05 11:49:03 +0200 |
commit | 375bc8def7c17506bc10f3b6193635f05d5ccc40 (patch) | |
tree | 6af7662b245e7998bd18ae20d9e74922c489fb6d /pkgs/development/libraries/gettext | |
parent | 2f75c6845981b38a698cf1a9f620145877c80956 (diff) | |
parent | 7f9ccc628403ed88844a4436da3b2944be5560a4 (diff) |
Merge staging into closure-size
Diffstat (limited to 'pkgs/development/libraries/gettext')
-rw-r--r-- | pkgs/development/libraries/gettext/expat.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gettext/expat.nix b/pkgs/development/libraries/gettext/expat.nix new file mode 100644 index 0000000000000..fc6116b391609 --- /dev/null +++ b/pkgs/development/libraries/gettext/expat.nix @@ -0,0 +1,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 +'' |