Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-15 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
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-09-04 | Document `mkOutputString` | John Ericson | |
2020-09-03 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
2020-09-02 | EvalCache: Fix caching of strings | Eelco Dolstra | |
This was broken in 50f13b06fb1b2f50a97323c000d1094d090f08ea. Once again it turns out that putting a bool in a std::variant is a bad idea, since pointers get silently cast to them... | |||
2020-09-01 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
2020-08-31 | Merge remote-tracking branch 'origin/master' into markdown | Eelco Dolstra | |
2020-08-28 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
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-27 | Merge pull request #3434 from Ericson2314/derivation-header-include-order | Eelco Dolstra | |
Revise division of labor in deserialization of derivations | |||
2020-08-25 | Merge remote-tracking branch 'origin/master' into markdown | Eelco Dolstra | |
2020-08-25 | Move import docs | Eelco Dolstra | |
2020-08-25 | Add getDoc() function | Eelco Dolstra | |
2020-08-25 | Use RegisterPrimOp for some undocumented primops | Eelco Dolstra | |
2020-08-25 | Document some primops | 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 | Move primop docs inline | Eelco Dolstra | |
This makes them available to 'nix repl'. | |||
2020-08-24 | Allow primops to have Markdown documentation | Eelco Dolstra | |
2020-08-23 | `writeDerivation` just needs a plain store reference | John Ericson | |
2020-08-21 | "Downstream placeholders" should not be store paths | John Ericson | |
Insead they should be opaque `/<hash>` like the placeholders we already have. | |||
2020-08-20 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
2020-08-20 | Rename drv output querying functions, like master | John Ericson | |
- `queryDerivationOutputMapAssumeTotal` -> `queryPartialDerivationOutputMap` - `queryDerivationOutputMapAssumeTotal` -> `queryDerivationOutputMap | |||
2020-08-20 | Remove PrimOp constructor | Eelco Dolstra | |
2020-08-19 | Generate the nix.conf docs from the source code | Eelco Dolstra | |
This means we don't have two (divergent) sets of option descriptions anymore. | |||
2020-08-19 | Change option descriptions to Markdown | Eelco Dolstra | |
2020-08-18 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
derivation-header-include-order | |||
2020-08-18 | Merge pull request #3917 from obsidiansystems/output-env-var-unconditional | Eelco Dolstra | |
Simplify code as output env vars are unconditional | |||
2020-08-14 | Merge remote-tracking branch 'upstream/master' into single-ca-drv-build | John Ericson | |
2020-08-14 | Merge pull request #3875 from obsidiansystems/new-interface-for-path-pathOpt | Eelco Dolstra | |
Offer a safer interface for path and pathOpt | |||
2020-08-14 | Merge pull request #3899 from obsidiansystems/make-narHash-not-optional | Eelco Dolstra | |
Make narHash in ValidPathInfo not optional | |||
2020-08-11 | Simplify code as output env vars are unconditional | John Ericson | |
Since the jsonObject unique ptr is reset to flush the string to make `__json`, all these `!jsonObject` conditions will always be true. | |||
2020-08-10 | Merge branch 'small-drv-serialize-cleanup' of github.com:obsidiansystems/nix ↵ | John Ericson | |
into single-ca-drv-build | |||
2020-08-10 | Remove name parameter from `writeDerivation` | John Ericson | |
The name is now stored with the derivation itself. | |||
2020-08-07 | Squashed get CA derivations building | John Ericson | |
2020-08-07 | nix build (and others): Force re-evaluation of cached errors | Eelco Dolstra | |
Fixes #3872. This is a bit hacky. Ideally we would automatically re-evaluate the failed attribute iff we need to print the error message (so in commands like 'nix search' we wouldn't re-evaluate because we're suppressing errors). | |||
2020-08-07 | Make --no-eval-cache a global setting | Eelco Dolstra | |
2020-08-05 | Merge branch 'master' of github.com:NixOS/nix into ↵ | Carlo Nucera | |
new-interface-for-path-pathOpt | |||
2020-08-05 | Merge branch 'master' of github.com:NixOS/nix into make-narHash-not-optional | Carlo Nucera | |
2020-08-05 | Remove optionality in ValidPathInfo::narInfo | Carlo Nucera | |
2020-08-05 | Update src/libexpr/primops.cc | John Ericson | |
Co-authored-by: Eelco Dolstra <edolstra@gmail.com> | |||
2020-08-05 | Merge remote-tracking branch 'obsidian/misc-ca' into ↵ | John Ericson | |
derivation-primop-floating-output | |||
2020-08-05 | Sed some names to perhaps avoid conflicts | John Ericson | |
2020-08-05 | Make names more consistent | John Ericson | |
2020-08-05 | Merge remote-tracking branch 'upstream/master' into misc-ca | John Ericson | |
2020-08-05 | Merge remote-tracking branch 'upstream/master' into misc-ca | John Ericson | |
2020-08-05 | Merge pull request #3730 from obsidiansystems/better-ca-parse-errors | Eelco Dolstra | |
Improve hash parsing and errors | |||
2020-08-05 | Typo | Eelco Dolstra | |
2020-08-04 | Merge remote-tracking branch 'upstream/master' into better-ca-parse-errors | John Ericson | |
2020-08-01 | Merge remote-tracking branch 'upstream/master' into ↵ | John Ericson | |
derivation-header-include-order |