Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-01-03 | Merge branch 'master' into debug-exploratory-PR | Ben Burdette | |
2022-01-03 | Merge pull request #5839 from tweag/balsoft/yet-another-follows-bugfix | Eelco Dolstra | |
flake.cc: computeLocks: Only verify overrides when they could change | |||
2022-01-03 | Merge pull request #5840 from tweag/balsoft/nix-repl-show-trace | Eelco Dolstra | |
nix repl: fix --show-trace and add the ability to set trace display | |||
2022-01-03 | Merge pull request #5844 from Kha/fix-ifd-chroot-once-more | Eelco Dolstra | |
Fix IFD with chroot store | |||
2022-01-03 | Merge pull request #5852 from autc04/docker-tmp-permissions | Eelco Dolstra | |
docker.nix: set correct permissions on /tmp (fix #5851) | |||
2022-01-01 | docker.nix: set correct permissions on /tmp | Wolfgang Thaller | |
2021-12-29 | Fix IFD with chroot store | Sebastian Ullrich | |
2021-12-29 | Add ability to toggle show-trace from within the repl | Alexander Bantyev | |
2021-12-29 | Merge pull request #5841 from lilyinstarlight/fix-fromtoml-attrs | Eelco Dolstra | |
Sort attrs from tables in fromTOML | |||
2021-12-28 | Sort attrs from tables in fromTOML | Lily Foster | |
This was dropped in 10a8b5d for the migration from cpptoml to toml11 but seems to be necessary for the attrsets to work correctly. Fixes #5833 | |||
2021-12-28 | Add a test that nix repl --show-trace actually shows the trace | Alexander Bantyev | |
2021-12-28 | BaseError::calcWhat: take loggerSettings.showTrace into account | Alexander Bantyev | |
Text representation for errors should include the trace if --show-trace is passed. | |||
2021-12-28 | flake.cc: computeLocks: Only verify overrides when they could change | Alexander Bantyev | |
When we check for disappeared overrides, we can get "false positives" for follows and overrides which are defined in the dependencies of the flake we are locking, since they are not parsed by parseFlakeInputs. However, at that point we already know that the overrides couldn't have possible been changed if the input itself hasn't changed (since we check that oldLock->originalRef == *input.ref for the input's parent). So, to prevent this, only perform this check when it was possible that the flake changed (e.g. the flake we're locking, or a new input, or the input has changed and mustRefetch == true). | |||
2021-12-27 | more cleanup | Ben Burdette | |
2021-12-27 | remove debug code | Ben Burdette | |
2021-12-27 | add DebugTrace for the current error | Ben Burdette | |
2021-12-27 | :d env | Ben Burdette | |
2021-12-27 | by refernce for addVarToScope | Ben Burdette | |
2021-12-27 | don't add builtins to extras, initEnv() in regular repl | Ben Burdette | |
2021-12-27 | don't add underscore names to extras | Ben Burdette | |
2021-12-27 | Merge pull request #5835 from yorickvP/fast-repl-load | Eelco Dolstra | |
Fix accidental O(n^2 * log n) performance in NixRepl::addAttrsToScope | |||
2021-12-27 | Fix accidental O(n^2 * log n) performance in NixRepl::addAttrsToScope | Yorick van Pelt | |
Only sort once, after adding all of the attrs first. This reduces my `nix repl '<nixpkgs>'` loading time from 1.07s to 103ms. Fixes #5823 | |||
2021-12-23 | DebugTrace | Ben Burdette | |
2021-12-23 | makeDebugTraceStacker | Ben Burdette | |
2021-12-23 | indenting | Ben Burdette | |
2021-12-23 | Merge branch 'nm-int64' of https://github.com/nmattia/nix | Eelco Dolstra | |
2021-12-23 | Use int64_t and NixFloat in fromTOML types | Nicolas Mattia | |
This makes sure that values parsed from TOML have a proper size. Using e.g. `double` caused issues on i686 where the size of `double` (32bit) was too small to accommodate some values. | |||
2021-12-23 | Merge pull request #5826 from NixOS/fixup-5807 | Eelco Dolstra | |
Properly return false on `builtins.pathExists /someNonAllowedPath` | |||
2021-12-23 | Properly return false on `builtins.pathExists /someNonAllowedPath` | regnat | |
Follow-up from https://github.com/NixOS/nix/pull/5807 to fix https://github.com/NixOS/nix/pull/5807#issuecomment-1000135394 | |||
2021-12-22 | stack traces basically working | Ben Burdette | |
2021-12-22 | DebugStackTracker class in one place | Ben Burdette | |
2021-12-22 | Merge pull request #5821 from edolstra/remove-affinity | Eelco Dolstra | |
Remove CPU locking | |||
2021-12-22 | Merge pull request #5820 from ncfavier/completion-nospace | Eelco Dolstra | |
Don't insert spaces when completing attribute paths | |||
2021-12-22 | Fix attr path completion after a dot | Naïm Favier | |
2021-12-22 | Don't insert spaces when completing attribute paths | Naïm Favier | |
2021-12-22 | Remove CPU locking | Eelco Dolstra | |
This was already accidentally disabled in ba87b08. It also no longer appears to be beneficial, and in fact slow things down, e.g. when evaluating a NixOS system configuration: elapsed time: median = 3.8170 mean = 3.8202 stddev = 0.0195 min = 3.7894 max = 3.8600 [rejected, p=0.00000, Δ=0.36929±0.02513] | |||
2021-12-22 | Merge pull request #5819 from edolstra/devshell-completion | Eelco Dolstra | |
Make bash completion for 'nix' work in a devshell | |||
2021-12-22 | Make bash completion work when nix is invoked as ~/.../nix | Eelco Dolstra | |
2021-12-22 | Make bash completion for 'nix' work in a devshell | Eelco Dolstra | |
2021-12-21 | Merge pull request #5814 from NixOS/docker-ssl-certs-in-etc | Eelco Dolstra | |
Add cacert to /etc/ssl/certs in the docker image | |||
2021-12-21 | Add cacert to /etc/ssl/certs in the docker image | Rok Garbas | |
Fixes #5797 | |||
2021-12-21 | Merge pull request #5807 from NixOS/5805-ca-ifd | Eelco Dolstra | |
Fix IFD with CA derivations | |||
2021-12-21 | Update release notes | Eelco Dolstra | |
2021-12-21 | Merge branch 'nm-toml11' of https://github.com/nmattia/nix | Eelco Dolstra | |
2021-12-21 | Merge branch 'why-depends-completion' of https://github.com/ncfavier/nix | Eelco Dolstra | |
2021-12-21 | Fix IFD with CA derivations | regnat | |
Rewrite the string taken by the IFD-like primops to contain the actual output paths of the derivations rather than the placeholders Fix #5805 | |||
2021-12-21 | Factor out the path realisation bit of IFD | regnat | |
2021-12-21 | Merge pull request #5809 from pennae/small-perf-improvements | Théophane Hufschmitt | |
small perf improvements | |||
2021-12-20 | bulk-allocate Value instances in the evaluator | pennae | |
calling GC_malloc for each value is significantly more expensive than allocating a bunch of values at once with GC_malloc_many. "a bunch" here is a GC block size, ie 16KiB or less. this gives a 1.5% performance boost when evaluating our nixos system. tested with nix eval --raw --impure --expr 'with import <nixpkgs/nixos> {}; system' # on master Time (mean ± σ): 3.335 s ± 0.007 s [User: 2.774 s, System: 0.293 s] Range (min … max): 3.315 s … 3.347 s 50 runs # with this change Time (mean ± σ): 3.288 s ± 0.006 s [User: 2.728 s, System: 0.292 s] Range (min … max): 3.274 s … 3.307 s 50 runs | |||
2021-12-20 | Clean up toml parsing code | Nicolas Mattia | |