From afdcbbd68a55e646e614e3735fd2691ab57333dc Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Sun, 1 Mar 2026 16:04:15 +1000 Subject: [PATCH 1/2] remove nix-community cachix --- doc/contributing.md | 2 -- doc/installation.md | 13 ------------- flake.nix | 3 --- 3 files changed, 18 deletions(-) diff --git a/doc/contributing.md b/doc/contributing.md index 293a01f6..28f2ccb1 100644 --- a/doc/contributing.md +++ b/doc/contributing.md @@ -37,5 +37,3 @@ nix run nixpkgs#haskellPackages.hpack ``` Source files are formatted with [Ormolu](https://github.com/tweag/ormolu). - -There is also a [Cachix cache](https://nix-community.cachix.org/) available for the dependencies of this program. diff --git a/doc/installation.md b/doc/installation.md index cc5d5399..deed0366 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -1,16 +1,9 @@ # Installation {#installation} -::: note -For the Cachix cache to work, your user must be in the trusted-users -list or you can use sudo since root is effectively trusted. -::: - Run without installing on stable Nix: ```ShellSession $ nix run \ - --option extra-substituters 'https://nix-community.cachix.org/' \ - --option extra-trusted-public-keys 'nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=' \ -f https://github.com/nix-community/nixpkgs-update/archive/main.tar.gz \ -c nixpkgs-update --help ``` @@ -19,8 +12,6 @@ Run without installing on unstable Nix with nix command enabled: ```ShellSession $ nix shell \ - --option extra-substituters 'https://nix-community.cachix.org/' \ - --option extra-trusted-public-keys 'nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=' \ -f https://github.com/nix-community/nixpkgs-update/archive/main.tar.gz \ -c nixpkgs-update --help ``` @@ -29,8 +20,6 @@ Run without installing on unstable Nix with nix flakes enabled: ```ShellSession $ nix run \ - --option extra-substituters 'https://nix-community.cachix.org/' \ - --option extra-trusted-public-keys 'nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=' \ github:nix-community/nixpkgs-update -- --help ``` @@ -38,8 +27,6 @@ Install into your Nix profile: ```ShellSession $ nix-env \ - --option extra-substituters 'https://nix-community.cachix.org/' \ - --option extra-trusted-public-keys 'nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=' \ -if https://github.com/nix-community/nixpkgs-update/archive/main.tar.gz ``` diff --git a/flake.nix b/flake.nix index 18fd02b4..daece64b 100644 --- a/flake.nix +++ b/flake.nix @@ -9,9 +9,6 @@ inputs.runtimeDeps.url = "github:NixOS/nixpkgs/nixos-unstable-small"; - nixConfig.extra-substituters = "https://nix-community.cachix.org"; - nixConfig.extra-trusted-public-keys = "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="; - outputs = { self, nixpkgs, mmdoc, treefmt-nix, runtimeDeps } @ args: let systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; From 575ecf09a1187715737dfbb46869af020bbd90a7 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Sun, 1 Mar 2026 16:04:15 +1000 Subject: [PATCH 2/2] move nix-community.org URLs --- doc/details.md | 4 ++-- doc/nixpkgs-maintainer-faq.md | 2 +- doc/r-ryantm.md | 2 +- src/Update.hs | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/details.md b/doc/details.md index f8d65999..c5aebe96 100644 --- a/doc/details.md +++ b/doc/details.md @@ -61,7 +61,7 @@ is made against staging. ## Logs -[Logs from r-ryantm's runs](https://nixpkgs-update-logs.nix-community.org/) are +[Logs from r-ryantm's runs](https://?) are available online. There are a lot of packages `nixpkgs-update` currently has no hope of updating. Please dredge the logs to find out why your pet package is not receiving updates. @@ -70,5 +70,5 @@ why your pet package is not receiving updates. ## Cache By serving the build outputs from -[https://nixpkgs-update-cache.nix-community.org/](https://nixpkgs-update-cache.nix-community.org/), nixpkgs-update allows you to +[https://?](https://?), nixpkgs-update allows you to test a package with one command. diff --git a/doc/nixpkgs-maintainer-faq.md b/doc/nixpkgs-maintainer-faq.md index 5a951e14..b160ab28 100644 --- a/doc/nixpkgs-maintainer-faq.md +++ b/doc/nixpkgs-maintainer-faq.md @@ -12,7 +12,7 @@ Thanks for being a maintainer. Hopefully, @r-ryantm will be able to save you som ## Why is @r-ryantm not updating my package? {#no-update} -There are lots of reasons a package might not be updated. You can usually figure out which one is the issue by looking at the [logs](https://nixpkgs-update-logs.nix-community.org/) or by asking the [maintainers](#contact). +There are lots of reasons a package might not be updated. You can usually figure out which one is the issue by looking at the [logs](https://?) or by asking the [maintainers](#contact). ### No new version information diff --git a/doc/r-ryantm.md b/doc/r-ryantm.md index 4a292535..1d7b010a 100644 --- a/doc/r-ryantm.md +++ b/doc/r-ryantm.md @@ -1,3 +1,3 @@ # r-ryantm bot {#r-ryantm} -[@r-ryantm](https://github.com/r-ryantm), is a bot account that updates Nixpkgs by making PRs that bump a package to the latest version. It runs on [community-configured infrastructure](https://nix-community.org/update-bot/). +[@r-ryantm](https://github.com/r-ryantm), is a bot account that updates Nixpkgs by making PRs that bump a package to the latest version. It runs on [community-configured infrastructure](https://?). diff --git a/src/Update.hs b/src/Update.hs index 39f51a77..ed374f28 100644 --- a/src/Update.hs +++ b/src/Update.hs @@ -156,7 +156,7 @@ updatePackageBatch simpleLog updateInfoLine updateEnv@UpdateEnv {..} = do else Nix.lookupAttrPath updateEnv let url = if isBot updateEnv - then "https://nix-community.org/update-bot/" + then "https://?" else "https://github.com/nix-community/nixpkgs-update" case eitherFailureOrAttrpath of Left failure -> do @@ -671,9 +671,9 @@ doCache log updateEnv resultPath = Either **download from the cache**: ``` nix-store -r $resultPath \ - --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \ + --option binary-caches 'https://cache.nixos.org/ https://?' \ --option trusted-public-keys ' - nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM= + ? cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ' ```