Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions doc/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
4 changes: 2 additions & 2 deletions doc/details.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
13 changes: 0 additions & 13 deletions doc/installation.md
Original file line number Diff line number Diff line change
@@ -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
```
Expand All @@ -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
```
Expand All @@ -29,17 +20,13 @@ 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
```

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
```

Expand Down
2 changes: 1 addition & 1 deletion doc/nixpkgs-maintainer-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion doc/r-ryantm.md
Original file line number Diff line number Diff line change
@@ -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://?).
3 changes: 0 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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" ];
Expand Down
6 changes: 3 additions & 3 deletions src/Update.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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=
'
```
Expand Down