Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-19 | Merge pull request #4080 from kquick/kwq/flake-int-doc | Eelco Dolstra | |
Add some internal documentation for flake support objects. | |||
2020-10-06 | Shut up some clang warnings | 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-10-06 | Remove 'using namespace fetchers' | Eelco Dolstra | |
2020-10-06 | Add missing #pragma once | Eelco Dolstra | |
2020-09-29 | Merge branch 'kwq/path-dir-query' of https://github.com/kquick/nix | Eelco Dolstra | |
2020-09-29 | nix registry list: Show 'dir' attribute | Eelco Dolstra | |
Issue #4050. | |||
2020-09-29 | Make Headers an optional argument | Eelco Dolstra | |
2020-09-29 | Merge branch 'github-api-token' of https://github.com/imalsogreg/nix | Eelco Dolstra | |
2020-09-28 | Switch comment format from '// ...' to '/* ... */' for consistency. | Kevin Quick | |
2020-09-28 | Clarification in the description of the FlakeInput. | Kevin Quick | |
2020-09-28 | Update description of FlakeRef, incorporating suggestion. | Kevin Quick | |
2020-09-27 | Miscellaneous spelling fixes in comments. (#4071) | Kevin Quick | |
2020-09-26 | Add some internal documentation for flake support objects. | Kevin Quick | |
2020-09-25 | Use "?dir=..." portion of "registry add" local path specification. | Kevin Quick | |
The registry targets generally follow a URL formatting schema with support for a query parameter of "?dir=subpath" to specify a sub-path location below the URL root. Alternatively, an absolute path can be specified. This specification mode accepts the query parameter but ignores/drops it. It would probably be better to either (a) disallow the query parameter for the path form, or (b) recognize the query parameter and add to the path. This patch implements (b) for consistency, and to make it easier for tooling that might switch between a remote git reference and a local path reference. See also issue #4050. | |||
2020-09-25 | Merge remote-tracking branch 'origin/master' into github-api-token | Gregory Hale | |
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 | Fetch commits from github/gitlab using Auth header | Greg Hale | |
`nix flake info` calls the github 'commits' API, which requires authorization when the repository is private. Currently this request fails with a 404. This commit adds an authorization header when calling the 'commits' API. It also changes the way that the 'tarball' API authenticates, moving the user's token from a query parameter into the Authorization header. The query parameter method is recently deprecated and will be disallowed in November 2020. Using them today triggers a warning email. | |||
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'. |