Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Use Logger::stdout() | Eelco Dolstra | |
2020-04-16 | Logger: Add method for writing to stdout | Eelco Dolstra | |
Usually this just writes to stdout, but for ProgressBar, we need to clear the current line, write the line to stdout, and then redraw the progress bar. | |||
2020-04-16 | pass Pos to forceValue to improve infinite recursion error | Domen Kožar | |
2020-04-15 | move implementation to cc | Ben Burdette | |
2020-04-15 | Merge branch 'initializer-style' into error-format | Ben Burdette | |
2020-04-15 | Merge pull request #3492 from andir/nix-build-gc-free | Eelco Dolstra | |
SourceExprCommand: allocate the vSourceExpr via uncollectable memory | |||
2020-04-15 | Merge pull request #3458 from zimbatm/nix-user-conf-dir | Eelco Dolstra | |
NIX_USER_CONF_FILES | |||
2020-04-14 | add NIX_USER_CONF_FILES | zimbatm | |
Motivation: maintain project-level configuration files. Document the whole situation a bit better so that it corresponds to the implementation, and add NIX_USER_CONF_FILES that allows overriding which user files Nix will load during startup. | |||
2020-04-14 | Make Registry::read() more robust | Eelco Dolstra | |
2020-04-14 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-04-13 | SourceExprCommand: allocate the vSourceExpr via uncollectable memory | Andreas Rammhold | |
Previously the memory would occasionally be collected during eval since the GC doesn't consider the member variable as alive / doesn't scan the region of memory where the pointer lives. By using the traceable_allocator<T> allocator provided by Boehm GC we can ensure the memory isn't collected. It should be properly freed when SourceExprCommand goes out of scope. | |||
2020-04-12 | never use /var/folders for TMPDIR on darwin | Daiderd Jordan | |
This doesn't just cause problems for nix-store --serve but also results in certain build failures. Builds that use unix domain sockets in their tests often fail because the /var/folders prefix already consumes more than half of the maximum length of socket paths. struct sockaddr_un { sa_family_t sun_family; /* AF_UNIX */ char sun_path[108]; /* Pathname */ }; | |||
2020-04-11 | Merge pull request #2688 from tollb/fix/build_check_keep_failed_sandbox_perms | Domen Kožar | |
Fix nix-build --check -K in sandbox w/o root | |||
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 | Fix nix-build --check -K in sandbox w/o root | Bruce Toll | |
Temporarily add user-write permission to build directory so that it can be moved out of the sandbox to the store with a .check suffix. This is necessary because the build directory has already had its permissions set read-only, but write permission is required to update the directory's parent link to move it out of the sandbox. Updated the related --check "derivation may not be deterministic" messages to consistently use the real store paths. Added test for non-root sandbox nix-build --check -K to demonstrate issue and help prevent regressions. | |||
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-10 | Merge pull request #2689 from tollb/fix/delete_tmp_dir_when_build_check_ok | Domen Kožar | |
Delete temporary directory on successful build | |||
2020-04-09 | Delete temporary directory on successful build | Bruce Toll | |
With --check and the --keep-failed (-K) flag, the temporary directory was being retained regardless of whether the build was successful and reproducible. This removes the temporary directory, as expected, on a reproducible check build. Added tests to verify that temporary build directories are not retained unnecessarily, particularly when using --check with --keep-failed. | |||
2020-04-09 | gc.cc: Ignore hidden files in temproots | Philipp Middendorf | |
2020-04-09 | Fix build | Eelco Dolstra | |
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 | DataTransfer -> FileTransfer | Nikola Knezevic | |
2020-04-08 | Add upload method | Nikola Knezevic | |
2020-04-08 | actDownload -> actDataTransfer | Nikola Knezevic | |
2020-04-08 | DownloadError -> DataTransferError | Nikola Knezevic | |
2020-04-08 | DownloadItem -> TransferItem | Nikola Knezevic | |
2020-04-08 | {get,make,new}Downloader -> DataTransfer | Nikola Knezevic | |
2020-04-08 | enqueueDownload -> enqueueDataTransfer | Nikola Knezevic | |
2020-04-08 | DownloadResult -> DataTransferResult | Nikola Knezevic | |
2020-04-08 | DownloadSettings -> DataTransferSettings | Nikola Knezevic | |
2020-04-08 | Rename src/lib/download.* to src/lib/datatransfer.* | Nikola Knezevic | |
2020-04-08 | DownloadRequest -> DataTransferRequest | Nikola Knezevic | |
2020-04-08 | Merge pull request #3477 from Ninlives/nix-run-using-env | Eelco Dolstra | |
`nix run` using $SHELL as default command | |||
2020-04-08 | indention | Ben Burdette | |
2020-04-08 | format -> fmt | Ben Burdette | |
2020-04-08 | build.cc: improve message if home directory exists | Domen Kožar | |
2020-04-08 | comments | Ben Burdette | |
2020-04-08 | return of NixCode | Ben Burdette | |
2020-04-08 | Merge pull request #3478 from edolstra/ignore-failed-data | Eelco Dolstra | |
Downloader: Only write data to the sink on a 200 response | |||
2020-04-08 | initializer style | Ben Burdette | |
2020-04-08 | Merge pull request #3468 from Infinisil/functionArgsPositions | Eelco Dolstra | |
Make function arguments retain position info | |||
2020-04-08 | Downloader: Only write data to the sink on a 200 response | Eelco Dolstra | |
Hopefully fixes #3278. | |||
2020-04-07 | columnRange -> column | Ben Burdette | |
2020-04-07 | remove columnrange; switch to fmt in error.cc | Ben Burdette | |