lix/src
Maximilian Bosch 040e783232 flake: don't refetch unmodified inputs by recursive follows
Closes #460

I managed to trigger the issue by having the following inputs (shortened):

    authentik-nix.url = "github:nix-community/authentik-nix";
    authentik-nix.inputs.poetry2nix.inputs.nixpkgs.follows = "nixpkgs";

When evaluating this using

    nix-eval-jobs --flake .#hydraJobs

I got the following error:

    error: cannot update unlocked flake input 'authentik-nix/poetry2nix' in pure mode

The issue we have here is that `authentik-nix/poetry2nix` was written
into the `overrideMap` which caused Nix to assume it's a new input and
tried to refetch it (#460) or errored out in pure mode
(nix-eval-jobs / Hydra).

The testcase unfortunately only involves checking for the output log
and makes sure that something *is* logged on the first fetch so that
the test doesn't rot when the logging changes since I didn't
manage to trigger the error above with the reproducer from #460. In
fact, I only managed to trigger the `cannot update unlocked flake input`
error in this context with `nix-eval-jobs`.

Change-Id: Ifd00091eec9a0067ed4bb3e5765a15d027328807
2024-08-19 19:57:12 +00:00
..
asan-options tree-wide: add support for asan! 2024-07-31 14:13:39 -07:00
build-remote refactor: make HashType and Base enum classes for type safety 2024-08-08 14:53:17 -07:00
libcmd tree-wide: fix a pile of lints 2024-08-08 14:53:17 -07:00
libexpr flake: don't refetch unmodified inputs by recursive follows 2024-08-19 19:57:12 +00:00
libfetchers refactor: make HashType and Base enum classes for type safety 2024-08-08 14:53:17 -07:00
libmain fix: check if it is a Real terminal, not just if it is a terminal 2024-08-10 16:07:21 -07:00
libstore libstore: un-enable_shared_from_this Goal 2024-08-19 09:13:44 +00:00
libutil libutil: Optimize feature checks 2024-08-18 16:56:49 +00:00
nix libutil: Optimize feature checks 2024-08-18 16:56:49 +00:00
nix-build tree-wide: unify progress bar inactive and paused states 2024-07-01 18:19:34 +02:00
nix-channel util.{hh,cc}: Split out users.{hh,cc} 2024-05-29 11:01:34 +02:00
nix-collect-garbage Fix dry-run flag for nix-collect-garbage 2024-07-09 13:55:05 +00:00
nix-copy-closure Merge pull request #9277 from keszybz/file-permissions 2024-03-04 05:26:17 +01:00
nix-env fix: check if it is a Real terminal, not just if it is a terminal 2024-08-10 16:07:21 -07:00
nix-instantiate libexpr: pass Exprs as references, not pointers 2024-06-17 19:46:44 +00:00
nix-store refactor: make HashType and Base enum classes for type safety 2024-08-08 14:53:17 -07:00
pch build-time: remove 20% more by PCH'ing C++ stdlib 2024-05-30 21:54:21 +00:00
lix-base.pc.in packaging: rename nixexpr -> lixexpr and so on 2024-05-23 16:45:23 -06:00
meson.build tree-wide: add support for asan! 2024-07-31 14:13:39 -07:00