Add gettextWithExpat function
This commit is contained in:
10
pkgs/development/libraries/gettext/expat.nix
Normal file
10
pkgs/development/libraries/gettext/expat.nix
Normal file
@@ -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
|
||||
''
|
||||
Reference in New Issue
Block a user