Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-25 | Merge pull request #3626 from W95Psp/master | Eelco Dolstra | |
Make `functionArgs` primitive accept primops (fix #3624) | |||
2020-09-24 | Remove redundant value checks | Paul Opiyo | |
std::optional had redundant checks for whether it had a value. An object is emplaced either way so it can be dereferenced without repeating a value check | |||
2020-09-23 | lstat() cleanup | Eelco Dolstra | |
2020-09-23 | Remove unused Flake::vOutputs field | Eelco Dolstra | |
2020-09-23 | Merge pull request #4052 from ujjwaljainnn/fix-typo | Domen Kožar | |
fixed typo | |||
2020-09-22 | fixed typo | ujjwal | |
2020-09-22 | Merge pull request #4040 from OmnipotentEntity/master | Eelco Dolstra | |
Fix compatibility with nlohmann-json 3.9.1 | |||
2020-09-21 | Bump nlohmann-json version to 3.9.1 | Michael Reilly | |
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-17 | Remove corepkgs/derivation.nix | Eelco Dolstra | |
2020-09-16 | Merge branch 'document-store-options' of https://github.com/tweag/nix | Eelco Dolstra | |
2020-09-16 | Fix doc generation | Eelco Dolstra | |
2020-09-16 | builtins.toFile: Fix indentation | Eelco Dolstra | |
2020-09-16 | Make the store plugins more introspectable | regnat | |
Directly register the store classes rather than a function to build an instance of them. This gives the possibility to introspect static members of the class or choose different ways of instantiating them. | |||
2020-09-15 | Rename `Derivation::pathOpt` to `Derivation::path` | John Ericson | |
We no longer need the `*Opt` to disambiguate. | |||
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 | |