-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
emacs: set 29 as default version and remove 28 #270558
Conversation
Result of 12 packages marked as broken and skipped:
7 packages failed to build:
6067 packages built: |
About build failure on x86_64-linux:
|
FWIW, the following works for me: diff --git a/pkgs/tools/typesetting/tex/auctex/default.nix b/pkgs/tools/typesetting/tex/auctex/default.nix
index b0fcc3b4d476..bd46955578d4 100644
--- a/pkgs/tools/typesetting/tex/auctex/default.nix
+++ b/pkgs/tools/typesetting/tex/auctex/default.nix
@@ -4,14 +4,14 @@ let auctex = stdenv.mkDerivation ( rec {
# Make this a valid tex(live-new) package;
# the pkgs attribute is provided with a hack below.
pname = "auctex";
- version = "12.3";
+ version = "13.2";
tlType = "run";
outputs = [ "out" "tex" ];
src = fetchurl {
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
- hash = "sha256-L9T+MLaUV8knf+IE0+g8hHK89QDI/kqBDXREBhdMqd0=";
+ hash = "sha256-Hn5AKrz4RmlOuncZklvwlcI+8zpeZgIgHHS2ymCUQDU=";
};
buildInputs = [
@@ -22,6 +22,7 @@ let auctex = stdenv.mkDerivation ( rec {
preConfigure = ''
mkdir -p "$tex"
+ export HOME=$TMPDIR
'';
configureFlags = [
|
23a4724
to
ed1497a
Compare
ed1497a
to
96bc947
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should be removing 28 already. Let's do that closer to next release.
While we should obviously not carry around old baggage forever, having the two most recent Emacs versions at once is not a huge burden. 28 certainly doesn't have a rotten smell yet if you know what I mean.
The 29 by default bump should have probably already happened. Whoops. cc @figsoda @RaitoBezarius do you think we can smuggle that into the release still or is it too late?
This needs a release note either way.
40k rebuilds on nixpkgs master? That's too much, right? It's certainly not just |
Hm, the eval report only lists emacsPackages. Where are you seeing 40k packages? Is that one arch or multiple? |
All platforms. And I see I counted previous eval as well. So "only" over 36k new ones over a few hours of nixpkgs master, but maybe several different pull requests added up in there: https://hydra.nixos.org/eval/1802673 |
I mean, maybe Hydra is slow, but I think adding 40k builds like this (then replicated in staging-next, etc.) will delay the work by at least one full day. |
Even with cheap builds its speed is 1-2 build steps per second over longer term. |
Reverted in #272785. Please resubmit into staging. |
Created #272822 which retargets this to staging. |
I know I'm coming in very late here, but the last working build of nix-doom-emacs is on Emacs 28 and 29 does not build unfortunately. I depend on this for my day-to-day, some others probably do too though that number is dwindling. I'm not sure if this should be a blocker, but there it is. (For me personally I guess I'd just revert in my fork or overlay and it's whatever. But it does break the already very broken NDE even more.) |
For keeping the old 28, a natural question is how long it should be kept. |
Note that these *24k builds are all tiny; usually just one or two files to be compiled each. On my dog slow 2.2GHz 10W Celeron J4105, the randomly chosen
A bit of back of the napkin math tells me that this extremely slow machine by itself would take about half a day to build all emacsPackages for its platform. I highly doubt this could block hydra for anything more than a few hours. |
I posted 1-2 build steps per second max. 24k on trunk, all again on staging-next, and half of it cached to trunk-combined. That's more than half a day on my napkin. |
What exactly do you mean by "build steps"? Is that just the emacsPackages or also including the 16k unrelated packages? |
It's one |
|
So, simple example: 24k with master and staging-next, one full build per second = over 13 hours.
|
( ~ @jian-lin ) Until it causes trouble and then it can get sniped away? Like on first signs of Problems arising from it. I'm not sure. |
I'd just like to know whether the one build/s metric was just for the emacsPackages or whether it was for the entire 40k builds that included 16k non-emacs packages. I'm asking because I'd expect those to take 10-100x as long as your typical emacs package would, thus massively skewing the average. I find it kind of hard to believe that, with all its parallelism, the entire build farm takes about as long to build four platforms as my dog slow NAS CPU needs to build one platform. @ckiee I'd recommend you to contribute to the discussion on the new PR. |
1-2 build steps per second are empiric maximum over long term. For any kind of builds apparently. (i.e. I've seen no period longer than an hour or two where Hydra exceeded that) |
You know, the central place of Hydra is in Germany, but the S3 is in USA and builders are often in Finland I think or other non-Germany... i.e. the efficiency of cheap builds is nowhere near to what you get at home, and especially NixOS tests (with all the /etc/foo derivations) are very painful. |
I can't have numbers for hydra.nixos.org just for emacs packages. We'd have to stop building everything else and start building just those (for some time). |
Hm, would it be possible to do a rebuild of all emacs packages (i.e. no-op change in emacsPackages builder) when there's relatively little else going on? |
Theoretically yes, but it's again like... commits are waiting in |
So possible, but at least right now I'm not perfectly comfortable with it. |
I think h.n.o is pretty busy these days through keeping up with the release branches and staging cycles. There are regularly bigger PRs that get tested on hydra, but their feedback cycles are a few days long. I'm running python-updates on my private infrastructure, because I can't get enough feedback from h.n.o fast enough to finish it in a meaningful timeframe. |
Oh, this wasn't a "we need to know this right now" request. As I said, this would necessarily be run when there's little else going on, so if there's anything else in need to be built, it's probably a higher priority than this. |
Description of changes
follow-up of #247357
related #247627
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Priorities
Add a 👍 reaction to pull requests you find important.