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

treewide: https://cache.nixos.org/ -> https://cache.nixos.org #74271

Closed
wants to merge 1 commit into from
Closed

treewide: https://cache.nixos.org/ -> https://cache.nixos.org #74271

wants to merge 1 commit into from

Conversation

lukateras
Copy link
Member

Motivation for this change

The latter seems to be marginally nicer.

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 nix-review --run "nix-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.
Notify maintainers

cc @domenkozar

@@ -380,7 +380,7 @@ in
config = {

nix.binaryCachePublicKeys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" ];
nix.binaryCaches = [ "https://cache.nixos.org/" ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's not a good idea, since there might be someone relying on that slash (cachix is).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By relying, are you referring to https://github.com/cachix/cachix/blob/275f732676c06aa23ae6c93049c5e54cb12ce30c/cachix/src/Cachix/Client/InstallationMode.hs#L158, i.e. there will be two copies of the same binary cache listed in /etc/nix/nix.conf?

@domenkozar
Copy link
Member

domenkozar commented Nov 26, 2019 via email

@lukateras
Copy link
Member Author

Closing, see #74271 (comment).

@lukateras lukateras closed this Nov 26, 2019
@lukateras
Copy link
Member Author

@domenkozar Thanks for the prompt feedback :)

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