-
-
Notifications
You must be signed in to change notification settings - Fork 19.5k
packages-config.nix: don't index stuff thats not getting evaled #434501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
fbe17ff
1079516
1cdfcf6
1f4ee10
288d13a
04948a4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
jopejoe1 marked this conversation as resolved.
Outdated
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2330,7 +2330,7 @@ with pkgs; | |
|
|
||
| roundcube = callPackage ../servers/roundcube { }; | ||
|
|
||
| roundcubePlugins = dontRecurseIntoAttrs (callPackage ../servers/roundcube/plugins { }); | ||
| roundcubePlugins = recurseIntoAttrs (callPackage ../servers/roundcube/plugins { }); | ||
|
|
||
| rsyslog = callPackage ../tools/system/rsyslog { | ||
| withHadoop = false; # Currently Broken | ||
|
|
@@ -3461,9 +3461,9 @@ with pkgs; | |
|
|
||
| importNpmLock = callPackages ../build-support/node/import-npm-lock { }; | ||
|
|
||
| nodePackages_latest = dontRecurseIntoAttrs nodejs_latest.pkgs; | ||
| nodePackages_latest = recurseIntoAttrs nodejs_latest.pkgs; | ||
|
|
||
| nodePackages = dontRecurseIntoAttrs nodejs.pkgs; | ||
|
Comment on lines
3464
to
3466
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Commenting here, but that's for the whole commit: This also causes all these packages to additionally be built by hydra, right? I think that's a massive number of packages added. I don't think we should or even can do this for all of these. I see that you want to include all of these in Eval, and that makes sense. At the same time, we'd have to ensure that they're not built in Hydra, though.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems like most of these come from
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
So maybe, build-wise, adding R packages wouldn't be that much of a problem. Not sure. Eval times would certainly go up, though. For GHA, this is an increase of 15 seconds, from 2:30 to 2:45 right now. That should work. I can't estimate what the consequences for Hydra would be, however. @vcunat you were involved in that issue above back then as well. WDYT? Are we ready to enable
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See also #126934
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Note that some packages that have
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I would very much like to see rPackages re-enabled if there's sufficient capacity. With it disabled, we have very little visibility of the state of the tree as the r-updates jobset has also been disabled in hydra since last year. Currently I'm running a hydra instance on my desktop to help with bumping rPackges while maintining a good overall state. I've attached a plot using data I took from my hydra instance (buildoutputs table in postgres) showing the build times for packages. It shows that the vast majority of builds in the tree are quite small, with 99% of jobs finishing in under 60s. Evaluation seems to take ~ 108s.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's split the commit that adds all the
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
For hydra.nixos.org, it seems build time of each packages affects much less the throughput than the number of packages to build. In other words, many small packages are much harder than a few large packages for hydra.nixos.org. This is our experience for |
||
| nodePackages = recurseIntoAttrs nodejs.pkgs; | ||
|
|
||
| node2nix = nodePackages.node2nix; | ||
|
|
||
|
|
@@ -3970,7 +3970,7 @@ with pkgs; | |
| inherit (darwin) DarwinTools; | ||
| }; | ||
|
|
||
| platformioPackages = dontRecurseIntoAttrs (callPackage ../development/embedded/platformio { }); | ||
| platformioPackages = recurseIntoAttrs (callPackage ../development/embedded/platformio { }); | ||
| platformio = | ||
| if stdenv.hostPlatform.isLinux then | ||
| platformioPackages.platformio-chrootenv | ||
|
|
@@ -5164,10 +5164,10 @@ with pkgs; | |
|
|
||
| # Haskell and GHC | ||
|
|
||
| haskell = callPackage ./haskell-packages.nix { }; | ||
| haskell = recurseIntoAttrs (callPackage ./haskell-packages.nix { }); | ||
|
|
||
| haskellPackages = | ||
| dontRecurseIntoAttrs | ||
| recurseIntoAttrs | ||
| # Prefer native-bignum to avoid linking issues with gmp | ||
| # GHC 9.6 rts can't be built statically with hadrian, so we need to use 9.4 | ||
| # until 9.8 is ready | ||
|
|
@@ -7857,7 +7857,7 @@ with pkgs; | |
|
|
||
| #GMP ex-satellite, so better keep it near gmp | ||
| # A GMP fork | ||
| gns3Packages = dontRecurseIntoAttrs (callPackage ../applications/networking/gns3 { }); | ||
| gns3Packages = recurseIntoAttrs (callPackage ../applications/networking/gns3 { }); | ||
| gns3-gui = gns3Packages.guiStable; | ||
| gns3-server = gns3Packages.serverStable; | ||
|
|
||
|
|
@@ -9654,7 +9654,7 @@ with pkgs; | |
|
|
||
| rstudioServerWrapper = rstudioWrapper.override { rstudio = rstudio-server; }; | ||
|
|
||
| rPackages = dontRecurseIntoAttrs ( | ||
| rPackages = recurseIntoAttrs ( | ||
| callPackage ../development/r-modules { | ||
| overrides = (config.rPackageOverrides or (_: { })) pkgs; | ||
| } | ||
|
|
@@ -10502,7 +10502,7 @@ with pkgs; | |
| inherit (linuxPackages) kernel; | ||
| }; | ||
|
|
||
| fusePackages = dontRecurseIntoAttrs ( | ||
| fusePackages = recurseIntoAttrs ( | ||
| callPackage ../os-specific/linux/fuse { | ||
| util-linux = util-linuxMinimal; | ||
| } | ||
|
|
@@ -10938,7 +10938,7 @@ with pkgs; | |
|
|
||
| v4l-utils = callPackage ../os-specific/linux/v4l-utils { }; | ||
|
|
||
| windows = callPackages ../os-specific/windows { }; | ||
| windows = recurseIntoAttrs (callPackages ../os-specific/windows { }); | ||
|
|
||
| wpa_supplicant = callPackage ../os-specific/linux/wpa_supplicant { }; | ||
|
|
||
|
|
@@ -11184,7 +11184,7 @@ with pkgs; | |
| pretendard-std | ||
| ; | ||
|
|
||
| sourceHanPackages = dontRecurseIntoAttrs (callPackage ../data/fonts/source-han { }); | ||
| sourceHanPackages = recurseIntoAttrs (callPackage ../data/fonts/source-han { }); | ||
| source-han-sans = sourceHanPackages.sans; | ||
| source-han-serif = sourceHanPackages.serif; | ||
| source-han-mono = sourceHanPackages.mono; | ||
|
|
||

Uh oh!
There was an error while loading. Please reload this page.