lix-releng-staging/src
Alexander Bantyev 8cbf862e6f
Flakes: computeLocks: pass correct LockParent when reusing oldLock
Previously, when we were attempting to reuse the old lockfile
information in the computeLocks function, we have passed the parent of
the current input to the next computeLocks call. This was incorrect,
since the follows are resolved relative to the parent. This caused
issues when we tried to reuse oldLock but couldn't for some
reason (read: mustRefetch is true), in that case the follows were
resolved incorrectly.

Fix this by passing the correct parent, and adding some tests to
prevent this particular regression from happening again.

Closes https://github.com/NixOS/nix/issues/5697
2021-12-02 12:02:34 +03:00
..
build-remote build-remote: Implicitly add the 'builtin' system type to all machines 2021-10-27 14:25:13 +02:00
cpptoml Revert the enum struct change 2020-06-18 22:11:26 +00:00
libcmd Don’t try to complete flakes is the feature isn’t enabled 2021-11-26 16:56:51 +01:00
libexpr Flakes: computeLocks: pass correct LockParent when reusing oldLock 2021-12-02 12:02:34 +03:00
libfetchers Merge pull request #5452 from Kha/git-extend-lock 2021-11-16 12:55:12 +01:00
libmain Merge pull request #5599 from fzakaria/faridzakaria/fix-progress-bar-leak 2021-12-01 16:28:38 +01:00
libstore Merge pull request #5603 from obsidiansystems/recursive-nix-system-feature 2021-11-25 17:20:58 +01:00
libutil createTempFile(): Mark file as CLOEEXEC 2021-11-29 11:20:50 +01:00
nix Fix typo 2021-11-27 23:29:48 +03:00
nix-build Make nix-shell work when nixpkgs is content-addressed 2021-11-26 09:56:48 +01:00
nix-channel Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-collect-garbage Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-copy-closure copyPaths: Pass store by reference 2021-07-22 09:59:51 +02:00
nix-env Support range-based for loop over list values 2021-11-25 16:31:39 +01:00
nix-instantiate Merge pull request #5428 from kreisys/add-pos-to-json-type-error 2021-11-15 07:57:46 -06:00
nix-store nix-store --serve: pass on settings.keepFailed from SSH store 2021-08-31 13:11:46 +02:00
nlohmann nlohmann_json: Update to 3.9.1, fix use of internal copy 2021-07-15 12:25:53 +02:00
resolve-system-dependencies Apply OS checks to host platform, not build 2021-06-23 15:00:36 +00:00