- Apr 28, 2020
-
-
Matthew Kenigsberg authored
-
- Apr 27, 2020
-
-
Matthew Kenigsberg authored
-
Matthew Kenigsberg authored
-
- Apr 22, 2020
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
(cherry picked from commit c7af247b)
-
Eelco Dolstra authored
Replace select() with poll()
-
- Apr 21, 2020
-
-
Dustin DeWeese authored
-
- Apr 18, 2020
-
-
Domen Kožar authored
pass Pos to forceValue to improve infinite recursion error
-
- Apr 16, 2020
-
-
Ben Burdette authored
-
Eelco Dolstra authored
(cherry picked from commit 8f418473)
-
Eelco Dolstra authored
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. (cherry picked from commit 696c0260)
-
Eelco Dolstra authored
-
Ben Burdette authored
-
Eelco Dolstra authored
More #3377.
-
Eelco Dolstra authored
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.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Domen Kožar authored
-
- Apr 15, 2020
-
-
Ben Burdette authored
-
Ben Burdette authored
-
Eelco Dolstra authored
SourceExprCommand: allocate the vSourceExpr via uncollectable memory
-
Eelco Dolstra authored
NIX_USER_CONF_FILES
-
- Apr 14, 2020
-
-
zimbatm authored
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.
-
- Apr 13, 2020
-
-
Andreas Rammhold authored
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.
-
- Apr 12, 2020
-
-
Eelco Dolstra authored
never use /var/folders for TMPDIR on darwin
-
Daiderd Jordan authored
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 */ };
-
- Apr 11, 2020
-
-
Domen Kožar authored
Fix nix-build --check -K in sandbox w/o root
-
Domen Kožar authored
improve toFile error message when containing potential drv path
-
DavHau authored
-
- Apr 10, 2020
-
-
Bruce Toll authored
A test case for correct handling of temporary directory deletion that was added to check.sh as part of PR #2689 was initially disabled for Darwin because of a directory permission issue in PR #2688. Now that the issue in PR #2688 is fixed, this commit enables the test case for Darwin.
-
Bruce Toll authored
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.
-
Eelco Dolstra authored
-
Domen Kožar authored
Delete temporary directory on successful build
-
- Apr 09, 2020
-
-
Bruce Toll authored
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.
-
Eelco Dolstra authored
gc.cc: Ignore hidden files in temproots
-
Philipp Middendorf authored
-
Domen Kožar authored
-
Domen Kožar authored
-