forked from NixOS/nix
-
Notifications
You must be signed in to change notification settings - Fork 8
Lazy trees v2 #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Lazy trees v2 #27
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
3751c06
coerceToStorePath(): Improve error message
edolstra f24ff05
Make `nix flake metadata|update|lock` lazy
edolstra 9e6b89c
lockFlake(): Always compute a NAR hash for inputs
edolstra 2890a2e
Typo
edolstra 3432184
Compute NAR hash for Git archive flakes if --no-trust-tarballs-from-g…
edolstra 307ce9b
Add NAR hash mismatch test
edolstra 228dac4
Merge remote-tracking branch 'origin/master' into lazy-flake-commands
edolstra c891554
Merge branch 'lazy-flake-commands' into lazy-trees-v2
edolstra febd28d
Lazily copy trees to the store
edolstra fa5cb62
Revert unneeded test change
edolstra f058567
Fix printAmbiguous() / printValueAsJSON()
edolstra f45db85
Actually ignore system/user registries during locking
edolstra 0cb06d7
Rename FlakeCache -> InputCache and key it on Inputs instead of Flake…
edolstra 3bbf917
Move the input cache into libfetchers
edolstra dd15c8a
Move getAccessorCached() to InputCache
edolstra 62565ce
Remove unused variable
edolstra e099a5b
Move the InputCache to EvalState
edolstra 0c0dda3
Devirtualize double-copied paths
edolstra 43a2691
unsafeGetAttrPos: Set string context on store paths
edolstra a6faa69
Merge remote-tracking branch 'detsys/detsys-main' into lazy-trees-tmp
edolstra ff85b34
Temporarily run all flake regression tests
edolstra 182edb4
Move mountInput into EvalState
edolstra 9d87ab1
Add a setting to enable lazy trees
edolstra 2aa3655
computeBaseName(): Respect the original store path name
edolstra 88cd822
Fix the nix-community/patsh/0.2.1 flake regression test (again)
edolstra ae5ac8a
Limit parallelism
edolstra fef193f
Try namespace runner
edolstra 577b331
Merge remote-tracking branch 'detsys/detsys-main' into lazy-trees-v2
edolstra 6f5cfaf
Run flake-regressions with --lazy-trees
edolstra 630bdff
Re-enable _NIX_TEST_FAIL_ON_LARGE_PATH tests
edolstra 91cde8c
EvalState::mountInput(): Throw an error if there is a NAR hash mismatch
edolstra 9bab483
Improve error message
edolstra d0a89fa
Put flake_regressions back in the merge queue
edolstra f6ad629
nix flake metadata: Show store path if available
edolstra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this fixme'd?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, but we can postpone this for now.