Comparing changes
Open a pull request
base repository: NixOS/nix
base: 056d41949e5b
head repository: NixOS/nix
compare: 45dda96dd625
- 17 commits
- 17 files changed
- 5 contributors
Commits on Feb 1, 2021
-
-
Merge pull request #4500 from domenkozar/offline
--no-net -> --offline
-
-
Merge pull request #4501 from dschrempf/master
Remove newline in operator table.
Commits on Feb 3, 2021
-
Merge pull request #4514 from sternenseemann/tryeval-doc
Include note about type of catched errors in tryEval documentation
Commits on Feb 4, 2021
-
-
Add an evaluation caching mechanism
Add the caching mechanism already present for cli arguments to the evaluation loop. This means that an expression of the form `(builtins.getFlake foo).bar.baz` will be cached if it can be
-
Manually commit to the cache db during the eval
This is a dirty hack to make caching temporarily work. The issue seems to be that the cache object is never deleted, which in turn means that we never commit to the db (as it happens in the object's destructor), so the cache doesn't persist between two Nix calls. So we manually commit to the db each time. This is both slower and ugly, but at least it works for the moment
-
Only add an eval cache to the attribute sets
The others don't need it and it was taking some useless space in the `Value` type
-
Avoids sqlite lock issue when the same flake is evaluated twice by keeping an in-memory mapping of the db connections opened for each cache key
-
-
Re-order the initialisers in a constructor to make them match the actual initialisation order
-
-
-
-
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 056d41949e5b...45dda96dd625