Trying to reinstate the meta-based Hydra builds
svn path=/nixpkgs/trunk/; revision=16883
This commit is contained in:
parent
08d98a9972
commit
d109e4cd95
|
@ -195,11 +195,6 @@ let
|
||||||
makeOverridable f (origArgs // (if builtins.isFunction newArgs then newArgs origArgs else newArgs));
|
makeOverridable f (origArgs // (if builtins.isFunction newArgs then newArgs origArgs else newArgs));
|
||||||
};
|
};
|
||||||
|
|
||||||
condPackage = condition: package: if condition then package else throw "package not supported";
|
|
||||||
platformPackage = platforms : package :
|
|
||||||
(condPackage (lib.any (x: x == system) platforms) package) //
|
|
||||||
{ meta.platforms = platforms; };
|
|
||||||
|
|
||||||
### STANDARD ENVIRONMENT
|
### STANDARD ENVIRONMENT
|
||||||
|
|
||||||
|
|
||||||
|
@ -1723,14 +1718,10 @@ let
|
||||||
profiledCompiler = true;
|
profiledCompiler = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
gccApple = (condPackage stdenv.isDarwin
|
gccApple = wrapGCC (import ../development/compilers/gcc-apple {
|
||||||
(wrapGCC (import ../development/compilers/gcc-apple {
|
|
||||||
inherit fetchurl stdenv noSysDirs;
|
inherit fetchurl stdenv noSysDirs;
|
||||||
profiledCompiler = true;
|
profiledCompiler = true;
|
||||||
}))) // {
|
});
|
||||||
meta.platforms = ["i686-darwin"];
|
|
||||||
meta.maintainers = [];
|
|
||||||
};
|
|
||||||
|
|
||||||
gccupc40 = wrapGCCUPC (import ../development/compilers/gcc-upc-4.0 {
|
gccupc40 = wrapGCCUPC (import ../development/compilers/gcc-upc-4.0 {
|
||||||
inherit fetchurl stdenv bison autoconf gnum4 noSysDirs;
|
inherit fetchurl stdenv bison autoconf gnum4 noSysDirs;
|
||||||
|
@ -1908,13 +1899,13 @@ let
|
||||||
inherit lib fetchurl stdenv composableDerivation;
|
inherit lib fetchurl stdenv composableDerivation;
|
||||||
};
|
};
|
||||||
|
|
||||||
j2sdk14x = platformPackage ["i686-linux"] (
|
j2sdk14x = (
|
||||||
assert system == "i686-linux";
|
assert system == "i686-linux";
|
||||||
import ../development/compilers/jdk/default-1.4.nix {
|
import ../development/compilers/jdk/default-1.4.nix {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
});
|
});
|
||||||
|
|
||||||
jdk5 = platformPackage ["i686-linux" "x86_64-linux"] (
|
jdk5 = (
|
||||||
assert system == "i686-linux" || system == "x86_64-linux";
|
assert system == "i686-linux" || system == "x86_64-linux";
|
||||||
import ../development/compilers/jdk/default-5.nix {
|
import ../development/compilers/jdk/default-5.nix {
|
||||||
inherit fetchurl stdenv unzip;
|
inherit fetchurl stdenv unzip;
|
||||||
|
@ -1932,8 +1923,7 @@ let
|
||||||
system == "powerpc-linux";
|
system == "powerpc-linux";
|
||||||
|
|
||||||
jdkdistro = installjdk: pluginSupport:
|
jdkdistro = installjdk: pluginSupport:
|
||||||
platformPackage ["i686-linux" "x86_64-linux" "powerpc-linux"]
|
(assert supportsJDK;
|
||||||
(assert supportsJDK;
|
|
||||||
(if pluginSupport then appendToName "plugin" else x: x) (import ../development/compilers/jdk {
|
(if pluginSupport then appendToName "plugin" else x: x) (import ../development/compilers/jdk {
|
||||||
inherit fetchurl stdenv unzip installjdk xlibs pluginSupport makeWrapper;
|
inherit fetchurl stdenv unzip installjdk xlibs pluginSupport makeWrapper;
|
||||||
}));
|
}));
|
||||||
|
@ -2066,7 +2056,7 @@ let
|
||||||
inherit fetchurl stdenv perl texinfo;
|
inherit fetchurl stdenv perl texinfo;
|
||||||
};
|
};
|
||||||
|
|
||||||
visualcpp = platformPackage ["i686-cygwin"] (import ../development/compilers/visual-c++ {
|
visualcpp = (import ../development/compilers/visual-c++ {
|
||||||
inherit fetchurl stdenv cabextract;
|
inherit fetchurl stdenv cabextract;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -2074,9 +2064,9 @@ let
|
||||||
inherit stdenv fetchurl pkgconfig strategoPackages;
|
inherit stdenv fetchurl pkgconfig strategoPackages;
|
||||||
};
|
};
|
||||||
|
|
||||||
win32hello = platformPackage ["i686-cygwin"] ( import ../development/compilers/visual-c++/test {
|
win32hello = import ../development/compilers/visual-c++/test {
|
||||||
inherit fetchurl stdenv visualcpp windowssdk;
|
inherit fetchurl stdenv visualcpp windowssdk;
|
||||||
});
|
};
|
||||||
|
|
||||||
wrapGCCWith = gccWrapper: glibc: baseGCC: gccWrapper {
|
wrapGCCWith = gccWrapper: glibc: baseGCC: gccWrapper {
|
||||||
nativeTools = stdenv ? gcc && stdenv.gcc.nativeTools;
|
nativeTools = stdenv ? gcc && stdenv.gcc.nativeTools;
|
||||||
|
@ -2345,7 +2335,7 @@ let
|
||||||
inherit fetchurl stdenv guile texinfo;
|
inherit fetchurl stdenv guile texinfo;
|
||||||
};
|
};
|
||||||
|
|
||||||
windowssdk = platformPackage ["i686-cygwin"] (
|
windowssdk = (
|
||||||
import ../development/misc/windows-sdk {
|
import ../development/misc/windows-sdk {
|
||||||
inherit fetchurl stdenv cabextract;
|
inherit fetchurl stdenv cabextract;
|
||||||
});
|
});
|
||||||
|
@ -3171,7 +3161,6 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
glibc_multi =
|
glibc_multi =
|
||||||
let package = (
|
|
||||||
runCommand "${glibc.name}-multi"
|
runCommand "${glibc.name}-multi"
|
||||||
{ glibc64 = glibc;
|
{ glibc64 = glibc;
|
||||||
glibc32 = (import ./all-packages.nix {system = "i686-linux";}).glibc;
|
glibc32 = (import ./all-packages.nix {system = "i686-linux";}).glibc;
|
||||||
|
@ -3191,8 +3180,7 @@ let
|
||||||
chmod -R u+w $out/include
|
chmod -R u+w $out/include
|
||||||
cp -rsf $glibc64/include $out
|
cp -rsf $glibc64/include $out
|
||||||
'' # */
|
'' # */
|
||||||
);
|
;
|
||||||
in platformPackage ["x86_64-linux"] package;
|
|
||||||
|
|
||||||
gmime = import ../development/libraries/gmime {
|
gmime = import ../development/libraries/gmime {
|
||||||
inherit fetchurl stdenv pkgconfig zlib;
|
inherit fetchurl stdenv pkgconfig zlib;
|
||||||
|
@ -4190,10 +4178,9 @@ let
|
||||||
|
|
||||||
wxGTK28 = wxGTK28deps null;
|
wxGTK28 = wxGTK28deps null;
|
||||||
|
|
||||||
wtk = platformPackage ["i686-linux"] (
|
wtk = import ../development/libraries/wtk {
|
||||||
import ../development/libraries/wtk {
|
|
||||||
inherit fetchurl stdenv unzip xlibs;
|
inherit fetchurl stdenv unzip xlibs;
|
||||||
});
|
};
|
||||||
|
|
||||||
x264 = import ../development/libraries/x264 {
|
x264 = import ../development/libraries/x264 {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
|
@ -4407,10 +4394,9 @@ let
|
||||||
inherit fetchurl stdenv python zlib libjpeg freetype;
|
inherit fetchurl stdenv python zlib libjpeg freetype;
|
||||||
};
|
};
|
||||||
|
|
||||||
psyco = platformPackage ["i686-linux"] (
|
psyco = import ../development/python-modules/psyco {
|
||||||
import ../development/python-modules/psyco {
|
|
||||||
inherit fetchurl stdenv python;
|
inherit fetchurl stdenv python;
|
||||||
});
|
};
|
||||||
|
|
||||||
pycairo = import ../development/python-modules/pycairo {
|
pycairo = import ../development/python-modules/pycairo {
|
||||||
inherit fetchurl stdenv python pkgconfig cairo x11;
|
inherit fetchurl stdenv python pkgconfig cairo x11;
|
||||||
|
@ -4797,7 +4783,7 @@ let
|
||||||
inherit libuuid zlib acl;
|
inherit libuuid zlib acl;
|
||||||
};
|
};
|
||||||
|
|
||||||
cpufrequtils = platformPackage ["i686-linux" "x86_64-linux"] (
|
cpufrequtils = (
|
||||||
import ../os-specific/linux/cpufrequtils {
|
import ../os-specific/linux/cpufrequtils {
|
||||||
inherit fetchurl stdenv libtool gettext;
|
inherit fetchurl stdenv libtool gettext;
|
||||||
glibc = stdenv.gcc.libc;
|
glibc = stdenv.gcc.libc;
|
||||||
|
@ -4900,7 +4886,7 @@ let
|
||||||
inherit fetchurl stdenv flex bison db4;
|
inherit fetchurl stdenv flex bison db4;
|
||||||
};
|
};
|
||||||
|
|
||||||
iputils = platformPackage ["i686-linux" "x86_64-linux"] (
|
iputils = (
|
||||||
import ../os-specific/linux/iputils {
|
import ../os-specific/linux/iputils {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
glibc = stdenv.gcc.libc;
|
glibc = stdenv.gcc.libc;
|
||||||
|
@ -4965,25 +4951,24 @@ let
|
||||||
inherit fetchurl stdenv perl;
|
inherit fetchurl stdenv perl;
|
||||||
};
|
};
|
||||||
|
|
||||||
kernelHeadersArm = platformPackage ["i686-linux"] (
|
kernelHeadersArm = (
|
||||||
import ../os-specific/linux/kernel-headers-cross {
|
import ../os-specific/linux/kernel-headers-cross {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
cross = "arm-linux";
|
cross = "arm-linux";
|
||||||
});
|
});
|
||||||
|
|
||||||
kernelHeadersMips = platformPackage ["i686-linux"] (
|
kernelHeadersMips = (
|
||||||
import ../os-specific/linux/kernel-headers-cross {
|
import ../os-specific/linux/kernel-headers-cross {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
cross = "mips-linux";
|
cross = "mips-linux";
|
||||||
});
|
});
|
||||||
|
|
||||||
kernelHeadersSparc = platformPackage ["i686-linux"] (
|
kernelHeadersSparc = import ../os-specific/linux/kernel-headers-cross {
|
||||||
import ../os-specific/linux/kernel-headers-cross {
|
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
cross = "sparc-linux";
|
cross = "sparc-linux";
|
||||||
});
|
};
|
||||||
|
|
||||||
kernel_2_6_20 = platformPackage ["i686-linux" "x86_64-linux" "powerpc-linux"] (
|
kernel_2_6_20 = (
|
||||||
import ../os-specific/linux/kernel/linux-2.6.20.nix {
|
import ../os-specific/linux/kernel/linux-2.6.20.nix {
|
||||||
inherit fetchurl stdenv perl mktemp module_init_tools;
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
|
@ -5009,7 +4994,7 @@ let
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
kernel_2_6_21 = platformPackage ["i686-linux" "x86_64-linux" "powerpc-linux"] (
|
kernel_2_6_21 = (
|
||||||
import ../os-specific/linux/kernel/linux-2.6.21.nix {
|
import ../os-specific/linux/kernel/linux-2.6.21.nix {
|
||||||
inherit fetchurl stdenv perl mktemp module_init_tools;
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
|
@ -5043,7 +5028,7 @@ let
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
kernel_2_6_22 = platformPackage ["i686-linux" "x86_64-linux" "powerpc-linux"] (
|
kernel_2_6_22 = (
|
||||||
import ../os-specific/linux/kernel/linux-2.6.22.nix {
|
import ../os-specific/linux/kernel/linux-2.6.22.nix {
|
||||||
inherit fetchurl stdenv perl mktemp module_init_tools;
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
|
@ -5063,8 +5048,7 @@ let
|
||||||
[(getConfig ["kernel" "addConfig"] "")];
|
[(getConfig ["kernel" "addConfig"] "")];
|
||||||
});
|
});
|
||||||
|
|
||||||
kernel_2_6_23 = platformPackage ["i686-linux" "x86_64-linux" "powerpc-linux"] (
|
kernel_2_6_23 = import ../os-specific/linux/kernel/linux-2.6.23.nix {
|
||||||
import ../os-specific/linux/kernel/linux-2.6.23.nix {
|
|
||||||
inherit fetchurl stdenv perl mktemp module_init_tools;
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
/*
|
/*
|
||||||
|
@ -5106,9 +5090,9 @@ let
|
||||||
lib.optional (getConfig ["kernel" "timer_stats"] false) "CONFIG_TIMER_STATS=y" ++
|
lib.optional (getConfig ["kernel" "timer_stats"] false) "CONFIG_TIMER_STATS=y" ++
|
||||||
lib.optional (getConfig ["kernel" "no_irqbalance"] false) "# CONFIG_IRQBALANCE is not set" ++
|
lib.optional (getConfig ["kernel" "no_irqbalance"] false) "# CONFIG_IRQBALANCE is not set" ++
|
||||||
[(getConfig ["kernel" "addConfig"] "")];
|
[(getConfig ["kernel" "addConfig"] "")];
|
||||||
});
|
};
|
||||||
|
|
||||||
kernel_2_6_25 = platformPackage ["i686-linux" "x86_64-linux" "powerpc-linux"] (
|
kernel_2_6_25 = (
|
||||||
import ../os-specific/linux/kernel/linux-2.6.25.nix {
|
import ../os-specific/linux/kernel/linux-2.6.25.nix {
|
||||||
inherit fetchurl stdenv perl mktemp module_init_tools;
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
|
@ -5131,8 +5115,7 @@ let
|
||||||
[(getConfig ["kernel" "addConfig"] "")];
|
[(getConfig ["kernel" "addConfig"] "")];
|
||||||
});
|
});
|
||||||
|
|
||||||
kernel_2_6_26 = platformPackage ["i686-linux" "x86_64-linux" "powerpc-linux"] (
|
kernel_2_6_26 = import ../os-specific/linux/kernel/linux-2.6.26.nix {
|
||||||
import ../os-specific/linux/kernel/linux-2.6.26.nix {
|
|
||||||
inherit fetchurl stdenv perl mktemp module_init_tools;
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
{ name = "fbcondecor-0.9.4-2.6.25-rc6";
|
{ name = "fbcondecor-0.9.4-2.6.25-rc6";
|
||||||
|
@ -5151,10 +5134,9 @@ let
|
||||||
extraConfig =
|
extraConfig =
|
||||||
lib.optional (getConfig ["kernel" "no_irqbalance"] false) "# CONFIG_IRQBALANCE is not set" ++
|
lib.optional (getConfig ["kernel" "no_irqbalance"] false) "# CONFIG_IRQBALANCE is not set" ++
|
||||||
[(getConfig ["kernel" "addConfig"] "")];
|
[(getConfig ["kernel" "addConfig"] "")];
|
||||||
});
|
};
|
||||||
|
|
||||||
kernel_2_6_27 = platformPackage ["i686-linux" "x86_64-linux" "powerpc-linux"] (
|
kernel_2_6_27 = import ../os-specific/linux/kernel/linux-2.6.27.nix {
|
||||||
import ../os-specific/linux/kernel/linux-2.6.27.nix {
|
|
||||||
inherit fetchurl stdenv perl mktemp module_init_tools;
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
{ name = "fbcondecor-0.9.4-2.6.27";
|
{ name = "fbcondecor-0.9.4-2.6.27";
|
||||||
|
@ -5173,9 +5155,9 @@ let
|
||||||
extraConfig =
|
extraConfig =
|
||||||
lib.optional (getConfig ["kernel" "no_irqbalance"] false) "# CONFIG_IRQBALANCE is not set" ++
|
lib.optional (getConfig ["kernel" "no_irqbalance"] false) "# CONFIG_IRQBALANCE is not set" ++
|
||||||
[(getConfig ["kernel" "addConfig"] "")];
|
[(getConfig ["kernel" "addConfig"] "")];
|
||||||
});
|
};
|
||||||
|
|
||||||
kernel_2_6_28 = platformPackage ["i686-linux" "x86_64-linux" "powerpc-linux"] (
|
kernel_2_6_28 = (
|
||||||
import ../os-specific/linux/kernel/linux-2.6.28.nix {
|
import ../os-specific/linux/kernel/linux-2.6.28.nix {
|
||||||
inherit fetchurl stdenv perl mktemp module_init_tools;
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
|
@ -5204,7 +5186,7 @@ let
|
||||||
[(getConfig ["kernel" "addConfig"] "")];
|
[(getConfig ["kernel" "addConfig"] "")];
|
||||||
});
|
});
|
||||||
|
|
||||||
kernel_2_6_29 = platformPackage ["i686-linux" "x86_64-linux" "powerpc-linux"] (
|
kernel_2_6_29 = (
|
||||||
makeOverridable (import ../os-specific/linux/kernel/linux-2.6.29.nix) {
|
makeOverridable (import ../os-specific/linux/kernel/linux-2.6.29.nix) {
|
||||||
inherit fetchurl stdenv perl mktemp module_init_tools;
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
|
@ -5223,8 +5205,7 @@ let
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
||||||
kernel_2_6_31_rc4 = platformPackage ["i686-linux" "x86_64-linux" "powerpc-linux"] (
|
kernel_2_6_31_rc4 = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.31-rc4.nix) {
|
||||||
makeOverridable (import ../os-specific/linux/kernel/linux-2.6.31-rc4.nix) {
|
|
||||||
inherit fetchurl stdenv perl mktemp module_init_tools;
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
{ name = "rc4 patch";
|
{ name = "rc4 patch";
|
||||||
|
@ -5234,15 +5215,15 @@ let
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
});
|
};
|
||||||
|
|
||||||
# For older x86 processors without PAE/PAT
|
# For older x86 processors without PAE/PAT
|
||||||
kernel_2_6_31_rc4_old_i686 = platformPackage ["i686-linux" "x86_64-linux" "powerpc-linux"] (
|
kernel_2_6_31_rc4_old_i686 = (
|
||||||
kernel_2_6_31_rc4.override {
|
kernel_2_6_31_rc4.override {
|
||||||
oldI686 = true;
|
oldI686 = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
kernel_2_6_31_rc3 = platformPackage ["i686-linux" "x86_64-linux" "powerpc-linux"] (
|
kernel_2_6_31_rc3 = (
|
||||||
makeOverridable (import ../os-specific/linux/kernel/linux-2.6.31-rc3.nix) {
|
makeOverridable (import ../os-specific/linux/kernel/linux-2.6.31-rc3.nix) {
|
||||||
inherit fetchurl stdenv perl mktemp module_init_tools;
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
|
@ -5256,12 +5237,12 @@ let
|
||||||
});
|
});
|
||||||
|
|
||||||
# For older x86 processors without PAE/PAT
|
# For older x86 processors without PAE/PAT
|
||||||
kernel_2_6_31_rc3_old_i686 = platformPackage ["i686-linux" "x86_64-linux" "powerpc-linux"] (
|
kernel_2_6_31_rc3_old_i686 = (
|
||||||
kernel_2_6_31_rc3.override {
|
kernel_2_6_31_rc3.override {
|
||||||
oldI686 = true;
|
oldI686 = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
kernel_2_6_31_rc2 = platformPackage ["i686-linux" "x86_64-linux" "powerpc-linux"] (
|
kernel_2_6_31_rc2 = (
|
||||||
makeOverridable (import ../os-specific/linux/kernel/linux-2.6.31-rc2.nix) {
|
makeOverridable (import ../os-specific/linux/kernel/linux-2.6.31-rc2.nix) {
|
||||||
inherit fetchurl stdenv perl mktemp module_init_tools;
|
inherit fetchurl stdenv perl mktemp module_init_tools;
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
|
@ -5275,7 +5256,7 @@ let
|
||||||
});
|
});
|
||||||
|
|
||||||
# For older x86 processors without PAE/PAT
|
# For older x86 processors without PAE/PAT
|
||||||
kernel_2_6_31_rc2_old_i686 = platformPackage ["i686-linux" "x86_64-linux" "powerpc-linux"] (
|
kernel_2_6_31_rc2_old_i686 = (
|
||||||
kernel_2_6_31_rc2.override {
|
kernel_2_6_31_rc2.override {
|
||||||
oldI686 = true;
|
oldI686 = true;
|
||||||
});
|
});
|
||||||
|
@ -5286,7 +5267,7 @@ let
|
||||||
for a specific kernel. This function can then be called for
|
for a specific kernel. This function can then be called for
|
||||||
whatever kernel you're using. */
|
whatever kernel you're using. */
|
||||||
|
|
||||||
kernelPackagesFor = kernel: platformPackage ["i686-linux" "x86_64-linux" "powerpc-linux"]
|
kernelPackagesFor = kernel:
|
||||||
rec {
|
rec {
|
||||||
|
|
||||||
inherit kernel;
|
inherit kernel;
|
||||||
|
@ -5920,7 +5901,7 @@ let
|
||||||
inherit (gnome) libglade libgnomeprint libgnomeprintui libgnomecanvas;
|
inherit (gnome) libglade libgnomeprint libgnomeprintui libgnomecanvas;
|
||||||
};
|
};
|
||||||
|
|
||||||
adobeReader = platformPackage ["i686-linux"] (
|
adobeReader = (
|
||||||
import ../applications/misc/adobe-reader {
|
import ../applications/misc/adobe-reader {
|
||||||
inherit fetchurl stdenv zlib libxml2 cups;
|
inherit fetchurl stdenv zlib libxml2 cups;
|
||||||
inherit (xlibs) libX11;
|
inherit (xlibs) libX11;
|
||||||
|
@ -6479,12 +6460,12 @@ let
|
||||||
|
|
||||||
flashplayer = flashplayer10;
|
flashplayer = flashplayer10;
|
||||||
|
|
||||||
flashplayer9 = platformPackage ["i686-linux"] (
|
flashplayer9 = (
|
||||||
import ../applications/networking/browsers/mozilla-plugins/flashplayer-9 {
|
import ../applications/networking/browsers/mozilla-plugins/flashplayer-9 {
|
||||||
inherit fetchurl stdenv zlib alsaLib;
|
inherit fetchurl stdenv zlib alsaLib;
|
||||||
});
|
});
|
||||||
|
|
||||||
flashplayer10 = platformPackage ["i686-linux" "x86_64-linux"] (
|
flashplayer10 = (
|
||||||
import ../applications/networking/browsers/mozilla-plugins/flashplayer-10 {
|
import ../applications/networking/browsers/mozilla-plugins/flashplayer-10 {
|
||||||
inherit fetchurl stdenv zlib alsaLib curl;
|
inherit fetchurl stdenv zlib alsaLib curl;
|
||||||
});
|
});
|
||||||
|
@ -6602,13 +6583,12 @@ let
|
||||||
inherit (gtkLibs) gtk;
|
inherit (gtkLibs) gtk;
|
||||||
};
|
};
|
||||||
|
|
||||||
googleearth = platformPackage ["i686-linux"] (
|
googleearth = import ../applications/misc/googleearth {
|
||||||
import ../applications/misc/googleearth {
|
|
||||||
inherit stdenv fetchurl glibc mesa freetype;
|
inherit stdenv fetchurl glibc mesa freetype;
|
||||||
inherit (gtkLibs) glib;
|
inherit (gtkLibs) glib;
|
||||||
inherit (xlibs) libSM libICE libXi libXv libXrender libXrandr libXfixes
|
inherit (xlibs) libSM libICE libXi libXv libXrender libXrandr libXfixes
|
||||||
libXcursor libXinerama libXext libX11;
|
libXcursor libXinerama libXext libX11;
|
||||||
});
|
};
|
||||||
|
|
||||||
gpsbabel = import ../applications/misc/gpsbabel {
|
gpsbabel = import ../applications/misc/gpsbabel {
|
||||||
inherit fetchurl stdenv zlib expat;
|
inherit fetchurl stdenv zlib expat;
|
||||||
|
@ -6901,12 +6881,11 @@ let
|
||||||
inherit fetchurl stdenv ncurses gettext;
|
inherit fetchurl stdenv ncurses gettext;
|
||||||
};
|
};
|
||||||
|
|
||||||
nedit = platformPackage ["i686-linux"] (
|
nedit = import ../applications/editors/nedit {
|
||||||
import ../applications/editors/nedit {
|
|
||||||
inherit fetchurl stdenv x11;
|
inherit fetchurl stdenv x11;
|
||||||
inherit (xlibs) libXpm;
|
inherit (xlibs) libXpm;
|
||||||
motif = lesstif;
|
motif = lesstif;
|
||||||
});
|
};
|
||||||
|
|
||||||
nvi = import ../applications/editors/nvi {
|
nvi = import ../applications/editors/nvi {
|
||||||
inherit fetchurl stdenv ncurses;
|
inherit fetchurl stdenv ncurses;
|
||||||
|
@ -7037,7 +7016,7 @@ let
|
||||||
inherit (xlibs) libX11;
|
inherit (xlibs) libX11;
|
||||||
};
|
};
|
||||||
|
|
||||||
RealPlayer = platformPackage ["i686-linux"]
|
RealPlayer =
|
||||||
(import ../applications/video/RealPlayer {
|
(import ../applications/video/RealPlayer {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
inherit (gtkLibs) glib pango atk gtk;
|
inherit (gtkLibs) glib pango atk gtk;
|
||||||
|
@ -7674,9 +7653,9 @@ let
|
||||||
python24 = python;
|
python24 = python;
|
||||||
};*/
|
};*/
|
||||||
|
|
||||||
ut2004demo = platformPackage ["i686-linux"] ( import ../games/ut2004demo {
|
ut2004demo = import ../games/ut2004demo {
|
||||||
inherit fetchurl stdenv xlibs mesa;
|
inherit fetchurl stdenv xlibs mesa;
|
||||||
});
|
};
|
||||||
|
|
||||||
xboard = builderDefsPackage (import ../games/xboard) {
|
xboard = builderDefsPackage (import ../games/xboard) {
|
||||||
inherit (xlibs) libX11 xproto libXt libXaw libSM
|
inherit (xlibs) libX11 xproto libXt libXaw libSM
|
||||||
|
@ -7906,10 +7885,9 @@ let
|
||||||
inherit fetchurl stdenv pkgconfig expat zlib libpng libjpeg xlibs;
|
inherit fetchurl stdenv pkgconfig expat zlib libpng libjpeg xlibs;
|
||||||
};
|
};
|
||||||
|
|
||||||
foldingathome = platformPackage ["i686-linux"]
|
foldingathome = import ../misc/foldingathome {
|
||||||
(import ../misc/foldingathome {
|
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
});
|
};
|
||||||
|
|
||||||
freestyle = import ../misc/freestyle {
|
freestyle = import ../misc/freestyle {
|
||||||
inherit fetchurl freeglut qt4 libpng lib3ds libQGLViewer swig;
|
inherit fetchurl freeglut qt4 libpng lib3ds libQGLViewer swig;
|
||||||
|
@ -8154,11 +8132,11 @@ let
|
||||||
inherit stdenv fetchurl aterm;
|
inherit stdenv fetchurl aterm;
|
||||||
};
|
};
|
||||||
|
|
||||||
trac = platformPackage ["i686-linux"] ( import ../misc/trac {
|
trac = import ../misc/trac {
|
||||||
inherit stdenv fetchurl python clearsilver makeWrapper
|
inherit stdenv fetchurl python clearsilver makeWrapper
|
||||||
sqlite subversion;
|
sqlite subversion;
|
||||||
inherit (pythonPackages) pysqlite;
|
inherit (pythonPackages) pysqlite;
|
||||||
});
|
};
|
||||||
|
|
||||||
vice = import ../misc/emulators/vice {
|
vice = import ../misc/emulators/vice {
|
||||||
inherit stdenv fetchurl perl gettext libpng giflib libjpeg alsaLib readline mesa;
|
inherit stdenv fetchurl perl gettext libpng giflib libjpeg alsaLib readline mesa;
|
||||||
|
|
|
@ -35,20 +35,20 @@ let
|
||||||
|
|
||||||
selectMaintained = attrSet: let
|
selectMaintained = attrSet: let
|
||||||
pairs = pkgs.lib.concatMap
|
pairs = pkgs.lib.concatMap
|
||||||
(x: let val = processPackage (builtins.getAttr x attrSet); in
|
(x: let val = builtins.tryEval (processPackage (builtins.getAttr x attrSet)); in
|
||||||
if val != [] then [{name=x; value=val;}] else [])
|
if val.success && val.value != [] then [{name=x; value=val.value;}] else [])
|
||||||
(builtins.attrNames attrSet);
|
(builtins.attrNames attrSet);
|
||||||
in
|
in
|
||||||
builtins.listToAttrs pairs;
|
builtins.listToAttrs pairs;
|
||||||
|
# May fail as much as it wishes, we will catch the error
|
||||||
processPackage = attrSet:
|
processPackage = attrSet:
|
||||||
if builtins.isAttrs attrSet then
|
if attrSet ? recurseForDerivations && attrSet.recurseForDerivations then
|
||||||
if pkgs.lib.attrByPath ["recurseForDerivations"] false attrSet then
|
selectMaintained attrSet
|
||||||
selectMaintained attrSet
|
else
|
||||||
|
if attrSet.meta.maintainers != [] then
|
||||||
|
attrSet.meta.platforms
|
||||||
else
|
else
|
||||||
if (pkgs.lib.attrByPath ["meta" "maintainers"] [] attrSet) != [] then
|
[];
|
||||||
pkgs.lib.attrByPath ["meta" "platforms"] [] attrSet
|
|
||||||
else []
|
|
||||||
else [];
|
|
||||||
|
|
||||||
/* Common platform groups on which to test packages. */
|
/* Common platform groups on which to test packages. */
|
||||||
inherit (pkgs.lib.platforms) linux darwin cygwin allBut all;
|
inherit (pkgs.lib.platforms) linux darwin cygwin allBut all;
|
||||||
|
@ -62,7 +62,7 @@ in {
|
||||||
|
|
||||||
tarball = import ./make-tarball.nix;
|
tarball = import ./make-tarball.nix;
|
||||||
|
|
||||||
} // (mapTestOn (/* (selectMaintained pkgs) // */ rec {
|
} // (mapTestOn ((selectMaintained pkgs) // rec {
|
||||||
|
|
||||||
MPlayer = linux;
|
MPlayer = linux;
|
||||||
abcde = linux;
|
abcde = linux;
|
||||||
|
|
Loading…
Reference in New Issue