summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-09-04 18:32:08 +0300
committerTuomas Tynkkynen <tuomas@tuxera.com>2016-09-04 18:49:01 +0300
commitc536a3fa2fd42f46c0cb15e17a74f060a4a8f63c (patch)
tree045e237c66303927a0b92f096e8450310ebeff07 /pkgs
parent16380441bbffe0da570d690e46ef9814d5f055ee (diff)
downloadnixlib-c536a3fa2fd42f46c0cb15e17a74f060a4a8f63c.tar
nixlib-c536a3fa2fd42f46c0cb15e17a74f060a4a8f63c.tar.gz
nixlib-c536a3fa2fd42f46c0cb15e17a74f060a4a8f63c.tar.bz2
nixlib-c536a3fa2fd42f46c0cb15e17a74f060a4a8f63c.tar.lz
nixlib-c536a3fa2fd42f46c0cb15e17a74f060a4a8f63c.tar.xz
nixlib-c536a3fa2fd42f46c0cb15e17a74f060a4a8f63c.tar.zst
nixlib-c536a3fa2fd42f46c0cb15e17a74f060a4a8f63c.zip
linuxPackages_testing: Don't recurseIntoAttrs
The -rc kernels are quite likely to break out-of-tree modules and thus
cause unnecessary Hydra failures.

(Note that linux_testing already has `hydraPlatforms = [];` but that
does not prevent the package from being built since it has reverse
dependencies. Arguably that could be considered undesirable and thus
fixing that could be considered the proper fix, but this should do
for now.)
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/top-level/all-packages.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 80ebc852a5fe..dfd94e1fb29b 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -11408,7 +11408,10 @@ in
   linuxPackages_4_6 = recurseIntoAttrs (self.linuxPackagesFor self.linux_4_6 linuxPackages_4_6);
   linuxPackages_4_7 = recurseIntoAttrs (self.linuxPackagesFor self.linux_4_7 linuxPackages_4_7);
   # Don't forget to update linuxPackages_latest!
-  linuxPackages_testing = recurseIntoAttrs (self.linuxPackagesFor self.linux_testing linuxPackages_testing);
+
+  # Intentionally lacks recurseIntoAttrs, as -rc kernels will quite likely break out-of-tree modules and cause failed Hydra builds.
+  linuxPackages_testing = self.linuxPackagesFor self.linux_testing linuxPackages_testing;
+
   linuxPackages_custom = {version, src, configfile}:
                            let linuxPackages_self = (self.linuxPackagesFor (self.linuxManualConfig {inherit version src configfile;
                                                                                                     allowImportFromDerivation=true;})