Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-22 | Move <nix/fetchurl.nix> into the nix binary | Eelco Dolstra | |
This makes the statically linked nix binary just work, without needing any additional files. | |||
2020-12-18 | Replace Value type setters with mk* functions | Silvan Mosberger | |
Move clearValue inside Value mkInt instead of setInt mkBool instead of setBool mkString instead of setString mkPath instead of setPath mkNull instead of setNull mkAttrs instead of setAttrs mkList instead of setList* mkThunk instead of setThunk mkApp instead of setApp mkLambda instead of setLambda mkBlackhole instead of setBlackhole mkPrimOp instead of setPrimOp mkPrimOpApp instead of setPrimOpApp mkExternal instead of setExternal mkFloat instead of setFloat Add note that the static mk* function should be removed eventually | |||
2020-12-17 | Rename Value::normalType() -> Value::type() | Silvan Mosberger | |
2020-12-17 | Rename ValueType -> InternalType, NormalType -> ValueType | Silvan Mosberger | |
And Value::type to Value::internalType, such that type() can be used in the next commit to get the new ValueType | |||
2020-12-12 | Make Value::type private | Silvan Mosberger | |
This is an implementation detail and shouldn't be used. Use normalType() and the various is<Type> functions instead | |||
2020-12-12 | Add ValueType checking functions for types that have the same NormalType | Silvan Mosberger | |
2020-12-12 | Use Value::normalType on all forced values instead of Value::type | Silvan Mosberger | |
2020-12-12 | Introduce Value type setters and make use of them | Silvan Mosberger | |
2020-12-12 | Introduce NormalType for the normal type of a Value | Silvan Mosberger | |
This will be useful to abstract over the ValueType implementation details Make use of it already to replace the showType(ValueType) function | |||
2020-11-12 | Fix default nix-path | Christian Höppner | |
The default nix-path values for nixpkgs and root channels were incorrect. | |||
2020-11-05 | Merge pull request #4206 from hercules-ci/fix-coroutine-gc | Eelco Dolstra | |
Fix memory corruption caused by GC-invisible coroutine stacks | |||
2020-11-03 | Fix error message 'assertion failed at' | Eelco Dolstra | |
2020-10-30 | BoehmGCStackAllocator: increase stack size to 8MB | Robert Hensing | |
The default stack size was not based on the normal stack size and was too small. | |||
2020-10-30 | Fix memory corruption caused by GC-invisible coroutine stacks | Robert Hensing | |
Crucially this introduces BoehmGCStackAllocator, but it also adds a bunch of wiring to avoid making libutil depend on bdw-gc. Part of the solutions for #4178, #4200 | |||
2020-10-26 | isTrivial(): Support trivial lists | Eelco Dolstra | |
2020-10-06 | Remove static variable name clashes | Eelco Dolstra | |
This was useful for an experiment with building Nix as a single compilation unit. It's not very useful otherwise but also doesn't hurt... | |||
2020-09-21 | Don't include <regex> in header files | Eelco Dolstra | |
This reduces compilation time by ~15 seconds (CPU time). Issue #4045. | |||
2020-09-16 | Fix doc generation | Eelco Dolstra | |
2020-09-14 | Escape `${` in strings when printing Nix expressions | regnat | |
Otherwise the result of the printing can't be parsed back correctly by Nix (because the unescaped `${` will be parsed as the begining of an anti-quotation). Fix #3989 | |||
2020-09-11 | Fix auto argument passing for more auto arguments than formals | Silvan Mosberger | |
The change in 626200713bb3cc844a9feb6af583c9b6b42c6dbc didn't account for when the number of auto arguments is bigger than the number of formal arguments. This causes the following: $ nix-instantiate --eval -E '{ ... }@args: args.foo' --argstr foo foo nix-instantiate: src/libexpr/attr-set.hh:55: void nix::Bindings::push_back(const nix::Attr&): Assertion `size_ < capacity_' failed. Aborted (core dumped) | |||
2020-08-31 | Merge remote-tracking branch 'origin/master' into markdown | Eelco Dolstra | |
2020-08-27 | Pass all args when auto-calling a function with an ellipsis | Griffin Smith | |
The command line options --arg and --argstr that are used by a bunch of CLI commands to pass arguments to top-level functions in files go through the same code-path as auto-calling top-level functions with their default arguments - this, however, was only passing the arguments that were *explicitly* mentioned in the formals of the function - in the case of an as-pattern with an ellipsis (eg args @ { ... }) extra passed arguments would get omitted. This fixes that to instead pass *all* specified auto args in the case that our function has an ellipsis. Fixes #598 | |||
2020-08-25 | Add getDoc() function | Eelco Dolstra | |
2020-08-24 | Don't barf if corepkgs is in the store but not a valid path | Eelco Dolstra | |
This can happen when using a dummy store (or indeed any non-local store). | |||
2020-08-24 | Allow primops to have Markdown documentation | Eelco Dolstra | |
2020-08-20 | Remove PrimOp constructor | Eelco Dolstra | |
2020-08-05 | Merge remote-tracking branch 'obsidian/misc-ca' into ↵ | John Ericson | |
derivation-primop-floating-output | |||
2020-08-05 | Typo | Eelco Dolstra | |
2020-07-22 | Parse CA derivations using new output variants | John Ericson | |
We no longer need `ParsedDerivation` because everything libstore needs to know about is in the `BasicDerivation` proper. | |||
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 | |