aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-27return string_views from forceString*pennae
once a string has been forced we already have dynamic storage allocated for it, so we can easily reuse that storage instead of copying.
2022-01-27convert a for more utilities to string_viewpennae
2022-01-27Merge pull request #6001 from NixOS/fix-nix-pathEelco Dolstra
Don’t require `NIX_PATH` entries to be valid paths
2022-01-27Merge pull request #6000 from NixOS/use-flakes-in-ciEelco Dolstra
Use the `nix` command (and flakes) in the CI
2022-01-27Don’t require `NIX_PATH` entries to be valid pathsregnat
It’s totally valid to have entries in `NIX_PATH` that aren’t valid paths (they can even be arbitrary urls or `channel:<channel-name>`). Fix #5998 and #5980
2022-01-26Use the `nix` command (and flakes) in the CIregnat
Apart from a slight simplification and a bit of dogfooding, this also make the cache behavior more predictable. For example `nix build .` and `nix build nix/$(git rev-parse HEAD)` will yield the exact same path, while their “intuitive” non-flake equivalents (`nix-build` and `nix-build https://github.com/nixos/nix/archives/$(git rev-parse HEAD).tar.gz`) don’t. This was a pain for example in https://github.com/NixOS/nix/pull/5059 Also, the `bar-with-logs` log format is imho nicer (even in an non-interactive context) because prefixing each log line with the name of the derivation that produced it makes it much easier to follow what’s going on.
2022-01-26Merge pull request #5997 from NixOS/test-nix-store-pingEelco Dolstra
Fix the `store ping` test
2022-01-26Merge pull request #5996 from edolstra/remove-nlohmannEelco Dolstra
Stop vendoring nlohmann_json
2022-01-26Fix the `store ping` testregnat
2022-01-26Stop vendoring nlohmann_jsonEelco Dolstra
2022-01-26Merge pull request #5995 from NixOS/test-nix-store-pingEelco Dolstra
Add some tests for `nix store ping`
2022-01-26Add some tests for `nix store ping`regnat
Always good to have :)
2022-01-26Merge pull request #5991 from edolstra/remote-nix-versionEelco Dolstra
nix store ping: Report Nix daemon version
2022-01-25nix store ping: Report Nix daemon versionEelco Dolstra
Fixes #5952.
2022-01-25Merge pull request #5987 from edolstra/rust-cleanupEelco Dolstra
Remove unused Rust stuff
2022-01-25Merge pull request #5922 from fzakaria/fzakaria/json-ignore-assertionEelco Dolstra
Add try/catch to queryJSON for assertion and errors
2022-01-25Merge pull request #5966 from SuperSandro2000/patch-2Eelco Dolstra
Remove url literal
2022-01-25Remove unused Rust stuffEelco Dolstra
In particular we were still compiling rust-ffi.cc even though we're not using it.
2022-01-25Merge pull request #5984 from NixOS/5982-correctly-parse-__curPosFooEelco Dolstra
Fix parsing of variable names that are a suffix of '__curPos'
2022-01-25Fix parsing of variable names that are a suffix of '__curPos'regnat
Follow-up from #5969 Fix #5982
2022-01-24Do not suppress errors in nix-env from feedback by EelcoFarid Zakaria
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-24Remove url literalsSandro
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>