aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-28bundler: revert default behavior to use defaultAppTom Bereknyei
Bundlers are now responsible for correctly handling their inputs which are no longer constrained to be (Drv->Drv)->Drv->Drv, but can be of type (attrset->Drv)->attrset->Drv.
2022-01-25bundler: notes and doc update to include bundlers repoTom Bereknyei
2022-01-25bundler: add tests and change defaults to use a derivationTom Bereknyei
2022-01-24Refactor bundler APITom Bereknyei
Bundlers now expect to be located at bundlers.<system>.<name> and are a function from derivations to derivations.
2022-01-24bundler: pass drv attrset instead of pathTom Bereknyei
2022-01-25flake.nix: Fix indentationEelco Dolstra
2022-01-25Bump versionEelco Dolstra
2022-01-25Merge pull request #5978 from edolstra/nixpkgs-regression-testsEelco Dolstra
Add regression / performance tests against a fixed revision of Nixpkgs
2022-01-25Move rl-next.md to rl-2.5.mdEelco Dolstra
2022-01-25Add regression / performance tests against a fixed revision of NixpkgsEelco Dolstra
2022-01-25Merge pull request #5976 from edolstra/read-invalid-pathsEelco Dolstra
Allow builtins.{readFile,path} on invalid paths
2022-01-24Allow builtins.{readFile,path} on invalid pathsEelco Dolstra
Stop-gap measure to fix #5975.
2022-01-24Merge pull request #5969 from edolstra/curpos-fixEelco Dolstra
Fix parsing of variable names that are a prefix of '__curPos'
2022-01-24Fix 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-24ExprConcatStrings::show(): Print values instead of pointersEelco Dolstra
2022-01-24Add a test for nix-assertion failures in nix-envEelco Dolstra
2022-01-24hiliteMatches(): Style fixes, pass more stuff by referenceEelco Dolstra
2022-01-24Merge pull request #5945 from afishhh/masterThéophane Hufschmitt
Make `nix search` highlight all regexes and matches
2022-01-24Merge pull request #5960 from zombiezen/patch-1Eelco Dolstra
Correct `NIX_BUILD_PATH` default description
2022-01-24Merge pull request #5963 from FlorianFranzen/test-flake-gitEelco Dolstra
tests: skip flake search test if no git is present
2022-01-24Tweak release notesEelco Dolstra
2022-01-24Merge pull request #5964 from pennae/fix-bulk-allocEelco Dolstra
allocate a GC root value for the Value cache pointer
2022-01-24Merge pull request #5965 from SuperSandro2000/nix-shell-rmEelco Dolstra
nix-shell: use clean rm, not any aliases/functions
2022-01-24Merge pull request #5875 from hercules-ci/fix-large-drv-field-stack-overflowEelco Dolstra
Fix segfault or stack overflow caused by large derivation fields
2022-01-24Add a small documentation for `hiliteMatches`regnat
2022-01-23nix-shell: use clean rm, not any aliases/functionsSandro Jäckel
2022-01-22Merge pull request #5829 from NixOS/push-docker-image-to-docker-hubRok Garbas
Push docker image to docker hub for each commit on master
2022-01-22allocate a GC root value for the Value cache pointerpennae
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-22tests: skip flake search test if no git is presentFlorian Franzen
2022-01-21Correct NIX_BUILD_PATH default descriptionRoss Light
Source: https://github.com/NixOS/nix/blob/067076287bf601f8fa2ffe4feff3057b96fa5be8/src/nix-build/nix-build.cc#L362-L381
2022-01-21Add some tests for hiliteMatches in libutilFishhh
2022-01-21Move hilite_all into libutil and rename it to hiliteMatchesFishhh
The signature was also changed so the function now accepts a vector instead of an iterator
2022-01-21derivations.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-21Merge pull request #5953 from edolstra/fix-realise-path-errorsEelco Dolstra
Fix exception handling around realisePath()
2022-01-21Adding docs regarding the docker image from masterRok Garbas
2022-01-21also tagging with latest commit with a `master` tagRok Garbas
2022-01-21Merge remote-tracking branch 'origin/master' into ↵Rok Garbas
push-docker-image-to-docker-hub
2022-01-21Fix 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-21Merge pull request #5949 from obsidiansystems/old-copyClosureEelco Dolstra
Add back `copyClosure` for plain `StorePath`s
2022-01-21Merge pull request #5943 from NixOS/3204-fix-build-with-newer-nlohmann-jsonEelco Dolstra
Fix the build with nlohmann/json 3.10.4+
2022-01-21Merge pull request #5942 from NixOS/5912-quieter-nix-why-dependsEelco Dolstra
Make `nix why-depends` quieter by default
2022-01-21Improve the description of the `--precise` optionThéophane Hufschmitt
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
2022-01-20Add back `copyClosure` for plain `StorePath`sJohn 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-20Add some tests for multiple regex/match highlighting in `nix search`Hubert Głuchowski
2022-01-20Make `hilite_all` take an iterator of matches instead of a vector.Hubert Głuchowski
2022-01-20Merge pull request #5946 from obsidiansystems/delete-dead-codeThéophane Hufschmitt
Remove dead field in NixArgs
2022-01-19Remove dead field in NixArgsJohn Ericson
This has been unused since 170e86dff5724264e0d3d25b9af1bd42df6aec74 CC @thufschmitt
2022-01-19Make `nix search` highlight all matches of a regexHubert Głuchowski
2022-01-19Make `nix search` highlight all regexesHubert Głuchowski
2022-01-19Replace withBuffer by boost small_vectorRobert 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.