mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
gettext: using selectVersion
svn path=/nixpkgs/branches/stdenv-updates/; revision=10453
This commit is contained in:
parent
b7ff9b6d22
commit
45b91c969c
|
@ -1,8 +0,0 @@
|
|||
args:
|
||||
args.stdenv.lib.listOfListsToAttrs [
|
||||
[ "recurseForDerivations" true ]
|
||||
[ "0.14.6" (import ./0.14.6.nix args) ]
|
||||
[ "0.15" (import ./0.15.nix args) ]
|
||||
[ "0.16.x" (import ./0.16.x.nix args) ]
|
||||
[ "default" (import ./0.16.x.nix args) ]
|
||||
]
|
|
@ -1929,12 +1929,12 @@ rec {
|
|||
# python / ruby support
|
||||
};
|
||||
|
||||
gettext = getVersion "gettext" gettext_alts;
|
||||
|
||||
gettext_alts = import ../development/libraries/gettext {
|
||||
gettextFun = lib.sumArgs (selectVersion ../development/libraries/gettext "0.16.x") {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
gettext = gettextFun null;
|
||||
|
||||
gd = import ../development/libraries/gd {
|
||||
inherit fetchurl stdenv zlib libpng freetype libjpeg fontconfig;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue