-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
nixos/network-interfaces: remove network-interfaces.target #272169
nixos/network-interfaces: remove network-interfaces.target #272169
Conversation
This will be a silent failure for many people. Can/will this be caught at eval time? |
Then definitely add a release note entry. I don't think it is as big. Some of the results are stone age old nixpkgs copies. When we add Edit: even with that there seem to be many repos which truly are just old nixpkgs. |
f147ec6
to
0768c07
Compare
0768c07
to
8f19e8e
Compare
8f19e8e
to
d7c094a
Compare
d7c094a
to
aa97325
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.
This is a good idea, thank you!
I looked through some of the downstream repos and I see a few that are still active (including nixops depending on this unit...), so maybe we should make a short post at https://discourse.nixos.org/t/breaking-changes-announcement-for-unstable/17574 to notify people?
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.
What's needed in order to merge this?
74ff1c1
to
2c0219d
Compare
Added one |
bad24d2
to
9176fbf
Compare
Thank you :) |
08486e1
to
dbbab5d
Compare
Created pr #276493 for warning on 23.11 release |
I'd need a review on the assertions. If it's good or a bit too hacky what I wrote. Then I'll merge. |
It should just be use |
dbbab5d
to
b5b0a42
Compare
map (message: { | ||
assertion = false; | ||
inherit message; | ||
}) (concatLists [ |
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.
This assertion is very confusingly written. Why is there a concatLists
for a list with a single element? Why is it mapping a list made with optional
to an assertion with assertion = false
instead of just putting the condition in the assertion
field?
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.
assertion = false
I don't know the impact of adding a lot of assertions (as there would be one for every system service)
concatLists
This is copied from the warnings above, to support multiple assertions later.
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.
Any further objections? @ElvishJerricco
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 still think this was extremely weirdly written and should have been cleaned up, but I wasn't going to block the PR on it
b5b0a42
to
1062655
Compare
Fixed merge conflict should be ready to merge I think(?) |
1062655
to
c0ef1f9
Compare
@nyabinary You force-pushed away the assertion, re-added that. |
Oops sorry and thanks :3 |
If we can believe this stuff: https://github.com/NixOS/nixpkgs/runs/20435679228 — this had visibly no impact on evaluation performance, phew, module system is great! |
That's probably because the expensive part, evaluating things, is already done in warnings and you only see a difference if both would be dropped. According to testing a year ago evaluating warnings takes 4s on a noop rebuild. |
Description of changes
Seemingly nothing is using this and network-interfaces was deprecated all the way back in 2016: #18491
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/
)Add a 👍 reaction to pull requests you find important.