aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-02-03break() primop; step and go debug commandsBen Burdette
2022-01-08clear screen and show top debug traceBen Burdette
2022-01-08optinoal error; compilesBen Burdette
2022-01-07add env to DebugTraceBen Burdette
2022-01-05revert value-addBen Burdette
2022-01-05add colors; remove headingsBen Burdette
2022-01-05tidy up debugtracesBen Burdette
2022-01-03filter out underscore namesBen Burdette
2022-01-03merge cleanupBen Burdette
2022-01-03Merge branch 'master' into debug-exploratory-PRBen Burdette
2022-01-03Merge pull request #5839 from tweag/balsoft/yet-another-follows-bugfixEelco Dolstra
flake.cc: computeLocks: Only verify overrides when they could change
2022-01-03Merge pull request #5840 from tweag/balsoft/nix-repl-show-traceEelco Dolstra
nix repl: fix --show-trace and add the ability to set trace display
2022-01-03Merge pull request #5844 from Kha/fix-ifd-chroot-once-moreEelco Dolstra
Fix IFD with chroot store
2022-01-03Merge pull request #5852 from autc04/docker-tmp-permissionsEelco Dolstra
docker.nix: set correct permissions on /tmp (fix #5851)
2022-01-01docker.nix: set correct permissions on /tmpWolfgang Thaller
2021-12-29Fix IFD with chroot storeSebastian Ullrich
2021-12-29Add ability to toggle show-trace from within the replAlexander Bantyev
2021-12-29Merge pull request #5841 from lilyinstarlight/fix-fromtoml-attrsEelco Dolstra
Sort attrs from tables in fromTOML
2021-12-28Sort attrs from tables in fromTOMLLily 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-28Add a test that nix repl --show-trace actually shows the traceAlexander Bantyev
2021-12-28BaseError::calcWhat: take loggerSettings.showTrace into accountAlexander Bantyev
Text representation for errors should include the trace if --show-trace is passed.
2021-12-28flake.cc: computeLocks: Only verify overrides when they could changeAlexander 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-27more cleanupBen Burdette
2021-12-27remove debug codeBen Burdette
2021-12-27add DebugTrace for the current errorBen Burdette
2021-12-27:d envBen Burdette
2021-12-27by refernce for addVarToScopeBen Burdette
2021-12-27don't add builtins to extras, initEnv() in regular replBen Burdette
2021-12-27don't add underscore names to extrasBen Burdette
2021-12-27Merge pull request #5835 from yorickvP/fast-repl-loadEelco Dolstra
Fix accidental O(n^2 * log n) performance in NixRepl::addAttrsToScope
2021-12-27Fix accidental O(n^2 * log n) performance in NixRepl::addAttrsToScopeYorick 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-23DebugTraceBen Burdette
2021-12-23makeDebugTraceStackerBen Burdette
2021-12-23indentingBen Burdette
2021-12-23Merge branch 'nm-int64' of https://github.com/nmattia/nixEelco Dolstra
2021-12-23Use int64_t and NixFloat in fromTOML typesNicolas 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-23Merge pull request #5826 from NixOS/fixup-5807Eelco Dolstra
Properly return false on `builtins.pathExists /someNonAllowedPath`
2021-12-23Properly 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-22stack traces basically workingBen Burdette
2021-12-22DebugStackTracker class in one placeBen Burdette
2021-12-22Merge pull request #5821 from edolstra/remove-affinityEelco Dolstra
Remove CPU locking
2021-12-22Merge pull request #5820 from ncfavier/completion-nospaceEelco Dolstra
Don't insert spaces when completing attribute paths
2021-12-22Fix attr path completion after a dotNaïm Favier
2021-12-22Don't insert spaces when completing attribute pathsNaïm Favier
2021-12-22Remove CPU lockingEelco 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-22Merge pull request #5819 from edolstra/devshell-completionEelco Dolstra
Make bash completion for 'nix' work in a devshell
2021-12-22Make bash completion work when nix is invoked as ~/.../nixEelco Dolstra
2021-12-22Make bash completion for 'nix' work in a devshellEelco Dolstra
2021-12-21Merge pull request #5814 from NixOS/docker-ssl-certs-in-etcEelco Dolstra
Add cacert to /etc/ssl/certs in the docker image
2021-12-21Add cacert to /etc/ssl/certs in the docker imageRok Garbas
Fixes #5797