-
Notifications
You must be signed in to change notification settings - Fork 85
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
Release 21.11 #147
Release 21.11 #147
Conversation
Awesome, I'll definitely have a look next week! |
5e9e1f8
to
510ca55
Compare
Got a minute to look at it. NixOS/nix@5740924#diff-112352307fc4c615843e2a683ed2dd10d73556e1c32932e0545270317d8fbe31 seems to turn pthreads initialization from warning to an error, breaking db initialization inside nix-directory. But, this made me wonder, was it really necessary to use the target nix for it? Could we instead proot I'll try that today or tomorrow if you don't get to it first. |
Workaround is with home-manager 21.11 no longer needed.
510ca55
to
2810239
Compare
I believe it was an overlay of hacks to make stuff link statically, not having it is not alarming.
It sure looks like you've succeeded =) |
OK, today I'm stopping at |
Oh right, because also the nix-on-droid script uses the new nix command, this feature should be enabled per default. |
I think the main question is: Do we want to use nix 2.4 as default or stick with nix 2.3 as nixpkgs-stable defaults to. Maybe it would be easier to keep it at nix 2.3 for now and document (or implement it by default) that |
Oh, so they did revert it in the end? If so, then it makes sense to follow suite. |
2810239
to
90ab04a
Compare
Yes, so I removed the nix update but added support if someone wants to enable nix 2.4 so that |
90ab04a
to
21afc02
Compare
Installs fine now. My next steps are, I guess, a rebase of the tests PR on top of this, testing and careful reading. Got any more plans for the release? |
No, that would be all for this PR. |
Maybe adding a test for nix 2.4 with non flake setup would be worth it if you are on it. |
One thing came to my mind: Maybe this would be a good opportunity to get rid of these assertions in the home-manager module, asserting a newer version of nixpkgs and home-manager than 19.09. |
modules/environment/nix.nix
Outdated
@@ -75,6 +91,7 @@ in | |||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" | |||
"nix-on-droid.cachix.org-1:56snoMJTXmDRC1Ei24CmKoUqvHJ9XCp+nidK7qkMQrU=" | |||
]; | |||
experimentalFeatures = mkIf (versionAtLeast cfg.package.version "2.4") [ "nix-command" ]; |
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.
https://nixos.org/manual/nix/stable/command-ref/conf-file.html says it's enabled by default in stable (2.4), do we still need to worry about it?
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.
or is this exactly why we have to worry about it? =)
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.
Fun fact: Yesterday the default was 0, I wondered what that meant.. Seemed to be a bug in the documentation :D Then we definitely do not need this, I will remove it.
ce95c44
to
843252c
Compare
This allows evaluation of configurations where nixpkgs.* options are used even when in a flake setup with unchanged default values.
8511636
to
379045d
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 believe it's fine. Thanks for your work, much appreciated!
Please do not forget to push the new bootstrap to https://nix-on-droid.unboiled.info/ :) And the default zipball location in the android app should not point to 20.09. Should we write a short file to document all manual steps for a release? Looks like a lot of things to think about. |
In case you didn't see my comment, ping @t184256 :) |
Just to be clear, we never tag and only create branches for the release from that commit where we drop support for the old nixpkgs and home-manager releases, at least that was my understanding. So I think branching Wait, I just noticed that our branches are a bit confusing :D So currently after releasing the version, the release branch does not get any updates? This forces every user to follow master if they want updates more often than the nixpkgs releases. Didn't realise that until now. It works for the current (I would estimate) small user base of nix-on-droid, but maybe it needs some refinement in the future. So either way, let's stay with the release idea. I like the idea to drop i686, reduces development overhead. I think we could give the changelog a bit more love, but other than that I think the release looks complete. How do you think about keeping track and gathering bigger things we want to accomplish? I saw that github has some kind of a ticket board (trello like), or maybe we use the discussions for that. Because sometimes I have so many ideas and want to write them down somewhere, I think that would help sync ourselves to common goals or to plan things better. BTW: I love working on this project with you, always makes a lot of fun to see what we creating here :) |
True; wrong term; my bad. I meant that I like our branches mostly-immovable (and mostly-fast-forwarding-when-we-do-move-them).
I didn't know we had a system =) Mine was way less defined: "release preparation activity dies down, I create the branch and update app".
I think we sometimes merge --ff-only really innocent things, but when the first major thing lands, the branch stops advancing and we tell people to use master.
I'd say it works for our model of dropping big changes around nixpkgs release time.
Sounds good, would be more helpful than syncing plans in MR comments. I think we had a discussion for such planning once, and this makes even more sense than that.
Thanks, the feeling is mutual, and I dare say it won't move even at a quarter of its current pace if it were not for you. I have a secret plan to up my Nix game this winter, so hope I'll be of more use after that. |
I agree, the way we handle releases is fine and communicated correctly.
So you are in favor of this board or of the discussions feature of github? I would be fine with both, I never worked with either of them.
Thank you, sometimes it feels like I create multiple big PRs in a week and then a couple of months nothing, but you are always fast in regards of reviews and responses. Whatever "to up my Nix game" is but it sounds promising. Flakifying my whole setup was the motivation I needed to get my hands dirty again on this project :) |
Tried some fancy board thing, let's see how useful it is. |
I prepared the release for 21.11, but for updating nixpkgs version there was an error because
pkgs/top-level/static.nix
was removed in NixOS/nixpkgs@3edba5e. I do not know that much about this cross-compiling stuff, will have a look at it but I am not sure if I am able to solve this.