mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Add gettextWithExpat function
This commit is contained in:
parent
cbfd3056b5
commit
d4a0cd2a94
2 changed files with 14 additions and 0 deletions
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
|
||||||
|
''
|
|
@ -5790,6 +5790,10 @@ let
|
||||||
gettext_0_18 = callPackage ../development/libraries/gettext/0.18.nix { };
|
gettext_0_18 = callPackage ../development/libraries/gettext/0.18.nix { };
|
||||||
gettext_0_19 = callPackage ../development/libraries/gettext { };
|
gettext_0_19 = callPackage ../development/libraries/gettext { };
|
||||||
|
|
||||||
|
gettextWithExpat = gettext: callPackage ../development/libraries/gettext/expat.nix {
|
||||||
|
inherit gettext;
|
||||||
|
};
|
||||||
|
|
||||||
gd = callPackage ../development/libraries/gd { };
|
gd = callPackage ../development/libraries/gd { };
|
||||||
|
|
||||||
gdal = callPackage ../development/libraries/gdal { };
|
gdal = callPackage ../development/libraries/gdal { };
|
||||||
|
|
Loading…
Reference in a new issue