Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-01-24 | bundler: pass drv attrset instead of path | Tom Bereknyei | |
2022-01-25 | flake.nix: Fix indentation | Eelco Dolstra | |
2022-01-25 | Bump version | Eelco Dolstra | |
2022-01-25 | Merge pull request #5978 from edolstra/nixpkgs-regression-tests | Eelco Dolstra | |
Add regression / performance tests against a fixed revision of Nixpkgs | |||
2022-01-25 | Move rl-next.md to rl-2.5.md | Eelco Dolstra | |
2022-01-25 | Add regression / performance tests against a fixed revision of Nixpkgs | Eelco Dolstra | |
2022-01-25 | Merge pull request #5976 from edolstra/read-invalid-paths | Eelco Dolstra | |
Allow builtins.{readFile,path} on invalid paths | |||
2022-01-24 | Allow builtins.{readFile,path} on invalid paths | Eelco Dolstra | |
Stop-gap measure to fix #5975. | |||
2022-01-24 | Merge pull request #5969 from edolstra/curpos-fix | Eelco Dolstra | |
Fix parsing of variable names that are a prefix of '__curPos' | |||
2022-01-24 | Fix parsing of variable names that are a prefix of '__curPos' | Eelco Dolstra | |
Fixes $ nix-instantiate --parse -E 'x: with x; _' (x: (with x; __curPos)) | |||
2022-01-24 | ExprConcatStrings::show(): Print values instead of pointers | Eelco Dolstra | |
2022-01-24 | Add a test for nix-assertion failures in nix-env | Eelco Dolstra | |
2022-01-24 | hiliteMatches(): Style fixes, pass more stuff by reference | Eelco Dolstra | |
2022-01-24 | Merge pull request #5945 from afishhh/master | Théophane Hufschmitt | |
Make `nix search` highlight all regexes and matches | |||
2022-01-24 | Merge pull request #5960 from zombiezen/patch-1 | Eelco Dolstra | |
Correct `NIX_BUILD_PATH` default description | |||
2022-01-24 | Merge pull request #5963 from FlorianFranzen/test-flake-git | Eelco Dolstra | |
tests: skip flake search test if no git is present | |||
2022-01-24 | Tweak release notes | Eelco Dolstra | |
2022-01-24 | Merge pull request #5964 from pennae/fix-bulk-alloc | Eelco Dolstra | |
allocate a GC root value for the Value cache pointer | |||
2022-01-24 | Merge pull request #5965 from SuperSandro2000/nix-shell-rm | Eelco Dolstra | |
nix-shell: use clean rm, not any aliases/functions | |||
2022-01-24 | Merge pull request #5875 from hercules-ci/fix-large-drv-field-stack-overflow | Eelco Dolstra | |
Fix segfault or stack overflow caused by large derivation fields | |||
2022-01-24 | Add a small documentation for `hiliteMatches` | regnat | |
2022-01-23 | nix-shell: use clean rm, not any aliases/functions | Sandro Jäckel | |
2022-01-22 | Merge pull request #5829 from NixOS/push-docker-image-to-docker-hub | Rok Garbas | |
Push docker image to docker hub for each commit on master | |||
2022-01-22 | allocate a GC root value for the Value cache pointer | pennae | |
keeping it as a simple data member means it won't be scanned by the GC, so eventually the GC will collect a cache that is still referenced (resulting in use-after-free of cache elements). fixes #5962 | |||
2022-01-22 | tests: skip flake search test if no git is present | Florian Franzen | |
2022-01-21 | Correct NIX_BUILD_PATH default description | Ross Light | |
Source: https://github.com/NixOS/nix/blob/067076287bf601f8fa2ffe4feff3057b96fa5be8/src/nix-build/nix-build.cc#L362-L381 | |||
2022-01-21 | Add some tests for hiliteMatches in libutil | Fishhh | |
2022-01-21 | Move hilite_all into libutil and rename it to hiliteMatches | Fishhh | |
The signature was also changed so the function now accepts a vector instead of an iterator | |||
2022-01-21 | derivations.cc: Use larger buffer in printString | Robert Hensing | |
If we want to be careful about hitting the stack protector page, we should use `-fstack-check` instead. Co-authored-by: Eelco Dolstra <edolstra@gmail.com> | |||
2022-01-21 | Merge pull request #5953 from edolstra/fix-realise-path-errors | Eelco Dolstra | |
Fix exception handling around realisePath() | |||
2022-01-21 | Adding docs regarding the docker image from master | Rok Garbas | |
2022-01-21 | also tagging with latest commit with a `master` tag | Rok Garbas | |
2022-01-21 | Merge remote-tracking branch 'origin/master' into ↵ | Rok Garbas | |
push-docker-image-to-docker-hub | |||
2022-01-21 | Fix exception handling around realisePath() | Eelco Dolstra | |
This no longer worked correctly because 'path' is uninitialised when an exception occurs, leading to errors like … while importing '' at /nix/store/rrzz5b1pshvzh1437ac9nkl06br81lkv-source/flake.nix:352:13: So move the adding of the error context into realisePath(). | |||
2022-01-21 | Merge pull request #5949 from obsidiansystems/old-copyClosure | Eelco Dolstra | |
Add back `copyClosure` for plain `StorePath`s | |||
2022-01-21 | Merge pull request #5943 from NixOS/3204-fix-build-with-newer-nlohmann-json | Eelco Dolstra | |
Fix the build with nlohmann/json 3.10.4+ | |||
2022-01-21 | Merge pull request #5942 from NixOS/5912-quieter-nix-why-depends | Eelco Dolstra | |
Make `nix why-depends` quieter by default | |||
2022-01-21 | Improve the description of the `--precise` option | Théophane Hufschmitt | |
Co-authored-by: Eelco Dolstra <edolstra@gmail.com> | |||
2022-01-20 | Add back `copyClosure` for plain `StorePath`s | John Ericson | |
This was removed in 2e199673a523fa81de31ffdd2a25976ce0814631 when `copyPath` transitioned to use `RealisedPath`. But then in e9848beca704d27a13e28b4403251725bd485bb2 we added it back just for `realisedPath`. I think it is a good utility function --- one can easily imagine it becoming optimized in the future, and copying paths *violating* the closure is a very niche feature. So if we have `copyPaths` for both sorts of paths, I think we should have `copyClosure` for both sorts too. | |||
2022-01-20 | Add some tests for multiple regex/match highlighting in `nix search` | Hubert Głuchowski | |
2022-01-20 | Make `hilite_all` take an iterator of matches instead of a vector. | Hubert Głuchowski | |
2022-01-20 | Merge pull request #5946 from obsidiansystems/delete-dead-code | Théophane Hufschmitt | |
Remove dead field in NixArgs | |||
2022-01-19 | Remove dead field in NixArgs | John Ericson | |
This has been unused since 170e86dff5724264e0d3d25b9af1bd42df6aec74 CC @thufschmitt | |||
2022-01-19 | Make `nix search` highlight all matches of a regex | Hubert Głuchowski | |
2022-01-19 | Make `nix search` highlight all regexes | Hubert Głuchowski | |
2022-01-19 | Replace withBuffer by boost small_vector | Robert Hensing | |
Although this will leave gaps in the stack, the performance impact of those should be insignificant and we get a simpler solution this way. | |||
2022-01-19 | withBuffer: Make sure to hit the stack protector | Robert Hensing | |
2022-01-19 | withBuffer: avoid allocating a std::function | Robert Hensing | |
2022-01-19 | Add withBuffer | Robert Hensing | |
... to avoid non-standard, unidiomatic alloca. | |||
2022-01-19 | Fix segfault or stack overflow caused by large derivation fields | Robert Hensing | |
This removes a dynamic stack allocation, making the derivation unparsing logic robust against overflows when large strings are added to a derivation. Overflow behavior depends on the platform and stack configuration. For instance, x86_64-linux/glibc behaves as (somewhat) expected: $ (ulimit -s 20000; nix-instantiate tests/lang/eval-okay-big-derivation-attr.nix) error: stack overflow (possible infinite recursion) $ (ulimit -s 40000; nix-instantiate tests/lang/eval-okay-big-derivation-attr.nix) error: expression does not evaluate to a derivation (or a set or list of those) However, on aarch64-darwin: $ nix-instantiate big-attr.nix ~ zsh: segmentation fault nix-instantiate big-attr.nix This indicates a slight flaw in the single stack protection page approach that is not encountered with normal stack frames. |