Substituters in nixConfig are ignored #573

Closed
opened 2024-11-08 22:27:12 +00:00 by diniamo · 2 comments

Describe the bug

The substituters specified in the nixConfig.extra-substituters attribute of the flake are simply ignored. Keep in mind that it could be that the extra-substituters option is ignored altogether (I haven't tested that), and not just in flakes. The path is for sure not missing from the cache, 1. because I checked it, 2. because the nixpkgs versions of Nix/Lix fetch it correctly.

Steps To Reproduce

  1. Dry build something that is cached in the flake's binary cache (eg. nix build --accept-flake-config --dry-run github:diniamo/niqspkgs#coreutils-full-patched).
  2. Notice that lix is trying to build some derivations, instead of fetching them.

Expected behavior

The derivation is downloaded from the cache.

nix --version output / additional context

After bisecting, 4dbbd721eb is the first bad commit.

## Describe the bug The substituters specified in the `nixConfig.extra-substituters` attribute of the flake are simply ignored. Keep in mind that it could be that the `extra-substituters` option is ignored altogether (I haven't tested that), and not just in flakes. The path is for sure not missing from the cache, 1. because I checked it, 2. because the nixpkgs versions of Nix/Lix fetch it correctly. ## Steps To Reproduce 1. Dry build something that is cached in the flake's binary cache (eg. `nix build --accept-flake-config --dry-run github:diniamo/niqspkgs#coreutils-full-patched`). 2. Notice that lix is trying to build some derivations, instead of fetching them. ## Expected behavior The derivation is downloaded from the cache. ## `nix --version` output / additional context After bisecting, 4dbbd721eb9db75d4968a624b8cb9e75e979a144 is the first bad commit.
diniamo added the
bug
label 2024-11-08 22:27:12 +00:00
Member

This issue was mentioned on Gerrit on the following CLs:

  • commit message in cl/2169 ("libutil/config: fix appendable options not getting marked as overridden")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/2169", "number": 2169, "kind": "commit message"}], "cl_meta": {"2169": {"change_title": "libutil/config: fix appendable options not getting marked as overridden"}}} --> This issue was mentioned on Gerrit on the following CLs: * commit message in [cl/2169](https://gerrit.lix.systems/c/lix/+/2169) ("libutil/config: fix appendable options not getting marked as overridden")
Author

I can confirm, the commit fixes it. Thanks.

I can confirm, the commit fixes it. Thanks.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#573
No description provided.