Skip to content
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/local: deprecate provider #84019

Closed

Conversation

jonringer
Copy link
Contributor

@jonringer jonringer commented Apr 1, 2020

Motivation for this change

related: #83929 #83933

Instead of ensuring that two pieces of state are in sync (and causes infinite recursion). Just deprecate one of them.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@infinisil
Copy link
Member

We shouldn't do this, because geoclue could be used by many different services, independently of whether the user wants to use it for their location. location.* is used to control how the system should figure out where the user is located. If this is set to geoclue, geoclue needs to be enabled. But it can also be enabled without using it for the users location.

@jonringer jonringer closed this Apr 2, 2020
@jonringer jonringer deleted the deprecate-provider-location branch April 2, 2020 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants