Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-14 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-07-13 | toStorePath(): Return a StorePath and the suffix | Eelco Dolstra | |
2020-07-06 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-07-02 | move showTrace to new loggerSettings | Ben Burdette | |
2020-06-30 | double addtrace for 'called from' | Ben Burdette | |
2020-06-29 | EvalCache: Store string contexts | Eelco Dolstra | |
2020-06-26 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-06-24 | convenience form of addTrace | Ben Burdette | |
2020-06-23 | use plain errPos instead of nixCode; fix tests | Ben Burdette | |
2020-06-19 | addErrorTrace | Ben Burdette | |
2020-06-18 | Some backports from the flakes branch | Eelco Dolstra | |
2020-06-18 | Remove unneeded #include | Eelco Dolstra | |
2020-06-18 | Make constant primops lazy | Eelco Dolstra | |
(cherry picked from commit aa0e2a2e70a3519a9dcb9b1da000a13c01aa6cc1) | |||
2020-06-17 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-06-15 | Get rid of explicit ErrorInfo constructors | Eelco Dolstra | |
2020-06-15 | Disambiguate BaseError(Args) constructor | Eelco Dolstra | |
This means that 'throw Error({ ... ErrorInfo ... })' now works. | |||
2020-06-03 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-05-29 | Merge remote-tracking branch 'upstream/master' into errors-phase-2 | Ben Burdette | |
2020-05-26 | Merge remote-tracking branch 'origin/master' into enum-FileIngestionMethod | Carlo Nucera | |
2020-05-12 | move pos to the first arg, to indicate its not used in a fmt template | Ben Burdette | |
2020-05-12 | new pos format for more errors | Ben Burdette | |
2020-05-11 | Merge branch 'master' into errors-phase-2 | Ben Burdette | |
2020-05-08 | add pos to errorinfo, remove from hints | Ben Burdette | |
2020-04-27 | nix search: Search legacyPackages recursively | Eelco Dolstra | |
2020-04-23 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-04-21 | remove 'format' from Error constructor calls | Ben Burdette | |
2020-04-18 | Merge pull request #3502 from NixOS/more-pos | Domen Kožar | |
pass Pos to forceValue to improve infinite recursion error | |||
2020-04-17 | Use a more space/time-efficient representation for the eval cache | Eelco Dolstra | |
2020-04-16 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-04-16 | Add function to allocate a Value in traceable memory | Eelco Dolstra | |
2020-04-16 | pass Pos to forceValue to improve infinite recursion error | Domen Kožar | |
2020-04-09 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-04-09 | Attach pos to if expression errors | Domen Kožar | |
2020-04-08 | datatransfer.{cc,hh} -> filetransfer.{cc,hh} | Nikola Knezevic | |
2020-04-08 | Rename src/lib/download.* to src/lib/datatransfer.* | Nikola Knezevic | |
2020-03-29 | Replace some `bool recursive` with a new `FileIngestionMethod` enum | John Ericson | |
2020-03-17 | Require shallow clones to be requested explicitly | Eelco Dolstra | |
If you do a fetchTree on a Git repository, whether the result contains a revCount attribute should not depend on whether that repository happens to be a shallow clone or not. That would complicate caching a lot and would be semantically messy. So applying fetchTree/fetchGit to a shallow repository is now an error unless you pass the attribute 'shallow = true'. If 'shallow = true', we don't return revCount, even if the repository is not actually shallow. Note that Nix itself is not doing shallow clones at the moment. But it could do so as an optimisation if the user specifies 'shallow = true'. Issue #2988. | |||
2020-01-21 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-01-13 | Tweak error message | Eelco Dolstra | |
2020-01-11 | libexpr: show expression in assertion errors | Daiderd Jordan | |
Includes the expression of the condition in the assertion message if the assertion failed, making assertions much easier to debug. eg. error: assertion (withPython -> (python2Packages != null)) failed at pkgs/tools/security/nmap/default.nix:11:1 | |||
2020-01-06 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-01-05 | Hide FunctionCallTrace constructor/destructor | Eelco Dolstra | |
This prevents them from being inlined. On gcc 9, this reduces the stack size needed for nix-instantiate '<nixpkgs>' -A texlive.combined.scheme-full --dry-run from 12.9 MiB to 4.8 MiB. | |||
2019-12-11 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-12-10 | Make the Store API more type-safe | Eelco Dolstra | |
Most functions now take a StorePath argument rather than a Path (which is just an alias for std::string). The StorePath constructor ensures that the path is syntactically correct (i.e. it looks like <store-dir>/<base32-hash>-<name>). Similarly, functions like buildPaths() now take a StorePathWithOutputs, rather than abusing Path by adding a '!<outputs>' suffix. Note that the StorePath type is implemented in Rust. This involves some hackery to allow Rust values to be used directly in C++, via a helper type whose destructor calls the Rust type's drop() function. The main issue is the dynamic nature of C++ move semantics: after we have moved a Rust value, we should not call the drop function on the original value. So when we move a value, we set the original value to bitwise zero, and the destructor only calls drop() if the value is not bitwise zero. This should be sufficient for most types. Also lots of minor cleanups to the C++ API to make it more modern (e.g. using std::optional and std::string_view in some places). | |||
2019-12-10 | EvalState::callFunction(): Make FunctionCallTrace use less stack space | Eelco Dolstra | |
The FunctionCallTrace object consumes a few hundred bytes of stack space, even when tracing is disabled. This was causing stack overflows: $ nix-instantiate '<nixpkgs> -A texlive.combined.scheme-full --dry-run error: stack overflow (possible infinite recursion) This is with the default stack size of 8 MiB. Putting the object on the heap reduces stack usage to < 5 MiB. | |||
2019-12-05 | Move #include | Eelco Dolstra | |
(cherry picked from commit 8beedd44861d1fe7208609ee8d231ca1c02dedf6) | |||
2019-12-04 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-11-28 | Remove builtins.valueSize | Eelco Dolstra | |
Fixes #3246. | |||
2019-11-25 | Ensure enough space in attrset bindings when using both __overrides and ↵ | Puck Meerburg | |
dynamic attributes | |||
2019-11-22 | Turn NIX_PATH into a config setting | Eelco Dolstra | |
This allows it to be set in nix.conf. |