Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | 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 | 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 | |
2021-12-20 | Add shell completion for why-depends | Naïm Favier | |
Fixes #5806 | |||
2021-12-17 | Use long in fromTOML | Nicolas Mattia | |
2021-12-17 | Update primops/fromTOML.cc to use toml11 | Nicolas Mattia | |
2021-12-17 | Replace cpptoml with toml11 | Nicolas Mattia | |
2021-12-17 | Merge pull request #5787 from edolstra/unshare-fs | Eelco Dolstra | |
Ignore EPERM when unsharing FS state | |||
2021-12-17 | Merge pull request #5047 from symphorien/fix-nix-channel | Théophane Hufschmitt | |
nix-channel: use nix-env -i --remove-all to upgrade | |||
2021-12-17 | Test the update of multiple channels | regnat | |
Make sure that `nix-channel --update` won’t accidentaly remove one | |||
2021-12-16 | Ignore EPERM when unsharing FS state | Eelco Dolstra | |
On Docker (but not podman), unshare(CLONE_FS) fails with EPERM. So let's ignore it and hope nothing bad happens. Attempted fix for #5777. | |||
2021-12-16 | Fix docker instructions | Eelco Dolstra | |
2021-12-16 | Merge pull request #5786 from Infinisil/groupBy-tests | Eelco Dolstra | |
Add a test case for builtins.groupBy | |||
2021-12-16 | Add a test case for builtins.groupBy | Silvan Mosberger | |
2021-12-16 | Merge pull request #5783 from johnae/master | Eelco Dolstra | |
docker: fix image so that nix profile works | |||
2021-12-16 | docker: fix image so that nix profile works | John Axel Eriksson | |
nix profile will otherwise throw this error: error: path '/nix/var/nix/profiles/default/manifest.nix' is not in the Nix store That's not entirely true since manifest.nix is within a directory in the nix store but nix profile seems to require the manifest.nix itself to be a store path. | |||
2021-12-16 | Merge pull request #5774 from jessebrennan/patch-1 | Eelco Dolstra | |
List aarch64 as supported macOS hardware | |||
2021-12-16 | Merge pull request #5779 from peeley/fix-shell-doc-typo | Eelco Dolstra | |
Fix typo in `nix shell --help` doc | |||
2021-12-15 | Fix typo in `src/nix/shell.md` | Noah Snelson | |
Changed `If not command` to `If no command`, also specified that the default shell launched in `nix shell` can be specified with `$SHELL`. | |||
2021-12-15 | List aarch64 as supported macOS hardware | jesse | |
Resolves #5767 | |||
2021-12-15 | pkgconfig -> pkg-config | Eelco Dolstra | |
2021-12-15 | Revert "update flake.nix to 21.11" | Eelco Dolstra | |
This reverts commit ad9322a48fce955fb30b111b0fb5c3b8007a6e2e because it breaks hydraJobs.buildStatic.* and the evaluation of some tests. | |||
2021-12-14 | Merge pull request #5769 from NixOS/ca/get-build-stats | Eelco Dolstra | |
Add a crude tracing mechansim for the build results | |||
2021-12-14 | Merge pull request #5623 from yorickvP/fix-5621 | Théophane Hufschmitt | |
flakes: fix boolean and int nixConfig values | |||
2021-12-14 | Merge pull request #5771 from edolstra/single-file-flake-inputs | Théophane Hufschmitt | |
Re-allow inputs.x.url = "/path/to/file" | |||
2021-12-14 | Add a test for boolean config options in flakes | regnat | |
2021-12-14 | Merge pull request #5702 from baloo/baloo/hide-non-reproducible-settings | Théophane Hufschmitt | |
reproducibility: hide non-reproducible settings from manual | |||
2021-12-14 | Merge pull request #5366 from trofi/speedup-ca-query | Théophane Hufschmitt | |
ca-specific-schema.sql: add index on RealisationsRefs(referrer) |