nixos/headscale: remove much-loosened-up server_url check#374374
nixos/headscale: remove much-loosened-up server_url check#374374misuzu merged 1 commit intoNixOS:masterfrom
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
server_url check [has been loosened upstream][1] and backported to NixOS[2]. The new, much looser check, is not practical to be implemented in Nix (you are welcome to give it a try; I've implemented the original one). Since the surface area is much smaller now (and the scenario much less common), I think we can remove this assertion altogether. [1]: juanfont/headscale#2248 [2]: NixOS#358255
40b3c31 to
de0a499
Compare
Good call, thanks for the reminder. Updated! |
This reverts commit b44d970. NixOS/nixpkgs#374374
|
Successfully created backport PR for |
|
It would have been nice to ping me, since I originally added the assertion.
I think it wouldn't be hard at all. Should I try to? I remember it being very frustrated when headscale stopped working due to this check and I couldn't reach my server anymore but I guess the check has been in place long enough that nobody uses an unsupported configuration anymore. |
|
Sorry. It didn't occur to me toask, I would definitely do next time. :( I "asked for changes" in the backporting patch, so we can at least stop the train somewhat? Hopefully that will stop landing. In my opinion, I think the new, less restrictive config is much less common to be an issue, so is there still value? |
server_url check has been loosened upstream and backported to NixOS2. The new, much looser check, is not practical to be implemented in Nix (you are welcome to give it a try; I've implemented the original one).
Since the surface area is much smaller now (and the scenario much less common), I think we can remove this assertion altogether.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-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].