Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-06 | Remove support for old lockfiles and the epoch/uri attributes | Eelco Dolstra | |
2020-05-06 | Remove obsolete FIXME | Eelco Dolstra | |
2020-05-05 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-05-04 | Flag: Use designated initializers | Eelco Dolstra | |
2020-05-01 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-04-29 | Fix displaying error-position in `builtins.fetch{Tree,Tarball}` | Maximilian Bosch | |
Without dereferencing this pointer, you'd get an error like this: ``` error: unsupported argument 'abc' to 'fetchTarball', at 0x13627e8 ``` | |||
2020-04-27 | Improve path:// handling | Eelco Dolstra | |
In particular, doing 'nix build /path/to/dir' now works if /path/to/dir is not a Git tree (it only has to contain a flake.nix file). Also, 'nix flake init' no longer requires a Git tree (but it will do a 'git add flake.nix' if it's a Git tree) | |||
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-20 | Fix typo | Eelco Dolstra | |
2020-04-20 | Move eval-cache.{cc,hh} | Eelco Dolstra | |
2020-04-20 | Get rid of the old eval cache | Eelco Dolstra | |
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-17 | nix flake show: Use evaluation cache | Eelco Dolstra | |
2020-04-16 | Use RootValue | Eelco Dolstra | |
2020-04-16 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-04-16 | Use RootValue | Eelco Dolstra | |
2020-04-16 | JSONSax: Use a RootValue | Eelco Dolstra | |
More #3377. | |||
2020-04-16 | ValueMap, VectorVector: Use traceable_allocator | Eelco Dolstra | |
We want to *trace* the 'Value *' arrays, not garbage-collect them! Otherwise the vectors/maps can end up pointing to nowhere. Fixes #3377. Closes #3384. | |||
2020-04-16 | Add function to allocate a Value in traceable memory | Eelco Dolstra | |
2020-04-16 | fetchMercurial: Use inputFromAttrs() | Eelco Dolstra | |
2020-04-16 | pass Pos to forceValue to improve infinite recursion error | Domen Kožar | |
2020-04-14 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-04-11 | Merge pull request #3447 from DavHau/improve-tofile-error-msg | Domen Kožar | |
improve toFile error message when containing potential drv path | |||
2020-04-11 | improve toFile error message when containing potential drv path | DavHau | |
2020-04-10 | Remove flake 'edition' field | Eelco Dolstra | |
Future editions of flakes or the Nix language can be supported by renaming flake.nix (e.g. flake-v2.nix). This avoids a bootstrap problem where we don't know which grammar to use to parse flake*.nix. It also allows a project to support multiple flake editions, in theory. | |||
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 | after flake rebase | Nikola Knezevic | |
2020-04-08 | datatransfer.{cc,hh} -> filetransfer.{cc,hh} | Nikola Knezevic | |
2020-04-08 | DownloadError -> DataTransferError | Nikola Knezevic | |
2020-04-08 | Rename src/lib/download.* to src/lib/datatransfer.* | Nikola Knezevic | |
2020-04-08 | Merge pull request #3468 from Infinisil/functionArgsPositions | Eelco Dolstra | |
Make function arguments retain position info | |||
2020-04-07 | Merge branch 'flakes' of github.com:NixOS/nix into flakes | Eelco Dolstra | |
2020-04-07 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-04-07 | Merge branch 'fetchgit-recursive' of https://github.com/blitz/nix | Eelco Dolstra | |
2020-04-07 | Backport libfetchers from the flakes branch | Eelco Dolstra | |
This provides a pluggable mechanism for defining new fetchers. It adds a builtin function 'fetchTree' that generalizes existing fetchers like 'fetchGit', 'fetchMercurial' and 'fetchTarball'. 'fetchTree' takes a set of attributes, e.g. fetchTree { type = "git"; url = "https://example.org/repo.git"; ref = "some-branch"; rev = "abcdef..."; } The existing fetchers are just wrappers around this. Note that the input attributes to fetchTree are the same as flake input specifications and flake lock file entries. All fetchers share a common cache stored in ~/.cache/nix/fetcher-cache-v1.sqlite. This replaces the ad hoc caching mechanisms in fetchGit and download.cc (e.g. ~/.cache/nix/{tarballs,git-revs*}). This also adds support for Git worktrees (c169ea59049f861aaba429f48b828d0820b74d1d). | |||
2020-04-06 | nix flake info: Show resolved URL | Eelco Dolstra | |
This is useful for finding out what a registry lookup resolves to, e.g $ nix flake info patchelf Resolved URL: github:NixOS/patchelf Locked URL: github:NixOS/patchelf/cd7955af31698c571c30b7a0f78e59fd624d0229 | |||
2020-04-03 | Make --override-input sticky | Eelco Dolstra | |
When we do something like 'nix flake update --override-input nixpkgs ...', the override is now kept on subsequent calls. (If you don't want this behaviour, you can use --no-write-lock-file.) | |||
2020-04-03 | getFlake: In pure mode, check that the argument is an immutable flakeref | Eelco Dolstra | |
2020-04-02 | Respect the narHash attribute in more input types | Eelco Dolstra | |
call-flake.nix now passes node.info.narHash to fetchTree. This ensures that dirty Git trees work even in pure mode. | |||
2020-04-02 | Improve error message | Eelco Dolstra | |
2020-04-02 | Change lastModified to the number of seconds in the epoch | Eelco Dolstra | |
'lastModifiedDate' is now a string representing the equivalent date/time. | |||
2020-04-02 | Move parseTreeInfo() | Eelco Dolstra | |
2020-04-02 | libexpr: remove unused attrError | Andreas Rammhold | |
The attrError variable is no longer used but still allocated on every call to the findAlongAttrPath function. | |||
2020-04-02 | fetchTree: Support integer attributes | Eelco Dolstra | |
2020-04-02 | nix flake info --json: Show TreeInfo | Eelco Dolstra | |
2020-04-02 | Make function arguments retain position info | Silvan Mosberger | |
This allows querying the location of function arguments. E.g. builtins.unsafeGetAttrPos "x" (builtins.functionArgs ({ x }: null)) => { column = 57; file = "/home/infinisil/src/nix/inst/test.nix"; line = 1; } | |||
2020-03-30 | Remove global -I flags | Eelco Dolstra | |
(cherry picked from commit 2c692a3b144523bca68dd6de618124ba6c9bb332) |