aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-07-10Factor out commonality between nix-prefetch-url and nix-store --add-fixedEelco Dolstra
2020-07-10nix-store --add-fixed: Run in constant memoryEelco Dolstra
2020-07-10nix-prefetch-url: Run in constant memory when using RemoteStoreEelco Dolstra
Fixes #3684.
2020-07-10.dir-locals.el: Set c-block-comment-prefixEelco Dolstra
2020-07-09LocalStore::addToStore(srcPath): Handle the flat caseEelco Dolstra
This helps nix-prefetch-url when using a local store.
2020-07-09Merge pull request #3797 from nix-macos-perf-test/macos-perf-testEelco Dolstra
add temp CI job to test syspolicy impact
2020-07-08add temp CI job to test syspolicy impactTravis A. Everett
Starting in Catalina, macOS runs a syspolicyd "assessment" that hits the network for each binary/script executable. It does cache these results, but Nix tends to introduce many "new" executables per build. (You can read more about this at https://github.com/NixOS/nix/issues/3789). This PR adds a temporary, redundant macOS job with these assessments disabled. I'm hoping you can adopt it for a few weeks to help me collect more data on how this affects real projects.
2020-07-08CleanupEelco Dolstra
2020-07-08Make LocalStore::addToStore(srcPath) run in constant memoryEelco Dolstra
This reduces memory consumption of nix-instantiate \ -E 'with import <nixpkgs> {}; runCommand "foo" { src = ./blender; } "echo foo"' \ --option nar-buffer-size 10000 (where ./blender is a 1.1 GiB tree) from 1716 to 36 MiB, while still ensuring that we don't do any write I/O for small source paths (up to 'nar-buffer-size' bytes). The downside is that large paths are now always written to a temporary location in the store, even if they produce an already valid store path. Thus, adding large paths might be slower and run out of disk space. ¯\_(ツ)_/¯ Of course, you can always restore the old behaviour by setting 'nar-buffer-size' to a very high value.
2020-07-08upload-release.pl: Update latest-release branchEelco Dolstra
2020-07-08Fix 'got unknown message type 1 from Nix daemon'Eelco Dolstra
Example: $ nix-build -E 'with import <nixpkgs> {}; runCommand "foo" { x = runCommand "bar" {} "exit 1"; } "echo foo; exit 1"' warning: unknown setting 'auto-allocate-uids' these 2 derivations will be built: /nix/store/v4fbdbhcdi949929a67g8farwf72zgam-bar.drv /nix/store/k4fsvrjl7cp2xpz7927iv7g0dqj1zyhs-foo.drv warning: unknown setting 'auto-allocate-uids' building '/nix/store/v4fbdbhcdi949929a67g8farwf72zgam-bar.drv'... error: --- Error ----------------------------------------------------------------------------------------------------------------------------------------------------------------- nix-daemon builder for '/nix/store/v4fbdbhcdi949929a67g8farwf72zgam-bar.drv' failed with exit code 1 error: --- Error ------------------------------------------------------------------------------------------------------------------------------------------------------------------ nix-build got unknown message type 1 from Nix daemon
2020-07-07Fix coverage buildEelco Dolstra
2020-07-07exportReferencesGraph: Fix support for non-top-level store pathsEelco Dolstra
Fixes #3471.
2020-07-06Merge pull request #3783 from bburdette/macos-testEelco Dolstra
address failing addTrace test
2020-07-06bumpBen Burdette
2020-07-06revamp trace code and testBen Burdette
2020-07-04spacingBen Burdette
2020-07-03Merge branch 'add-trace' of https://github.com/bburdette/nixEelco Dolstra
2020-07-03Merge branch 'master' into add-traceBen Burdette
2020-07-03nix develop: Fix bad regexEelco Dolstra
This was accepted by libstdc++ but not libc++. https://hydra.nixos.org/build/123569154
2020-07-03Shut up a clang warningEelco Dolstra
2020-07-03Merge pull request #3778 from tweag/parallel-testsEelco Dolstra
Parallel tests fixes
2020-07-03Hopefully fix macOS test failureEelco Dolstra
2020-07-03Shorten the path to the test rootregnat
Fix a socket length failure on the OSX builders
2020-07-03Fix the test dependenciesregnat
Reuse the pre-existing list rather than the one written as part of #3777
2020-07-02Add test for nix developEelco Dolstra
2020-07-02Fix abort in 'nix develop'Eelco Dolstra
2020-07-02spacingBen Burdette
2020-07-02move showTrace to new loggerSettingsBen Burdette
2020-07-02Set gc-reserved-space to 0 in testsEelco Dolstra
This reduces the amount of disk space needed to run the tests from half a gigabyte to 10 megabytes.
2020-07-02Merge branch 'parallel-tests' of https://github.com/tweag/nixEelco Dolstra
2020-07-02Make the gc-auto test more reliableregnat
Use a fifo pipe to handle the synchronisation between the different threads rather than relying on delays
2020-07-02Make the gc-concurrent test more reliableregnat
Use a fifo pipe to handle the synchronisation between the different threads rather than relying on delays
2020-07-02Run the tests in parallelregnat
Cause the time needed to run the testsuite to drop from ~4mins to ~40s
2020-07-02assert for invalid fileoriginBen Burdette
2020-07-01spacingBen Burdette
2020-07-01if no errLoc, no Loc.Ben Burdette
2020-07-01don't include errpos for addErrorContextBen Burdette
2020-07-01non-pos trace testBen Burdette
2020-07-01CleanupEelco Dolstra
2020-07-01Merge branch 'remote-query-outputs' of https://github.com/tweag/nixEelco Dolstra
2020-06-30fix tests with the 'from string' changeBen Burdette
2020-06-30'from string'Ben Burdette
2020-06-30comments and cleanupBen Burdette
2020-06-30double addtrace for 'called from'Ben Burdette
2020-06-30Merge branch 'master' into add-traceBen Burdette
2020-06-30Merge pull request #3767 from bburdette/pos-null-checkEelco Dolstra
Pos null check
2020-06-30invalid pos checkBen Burdette
2020-06-30check for a null symbolBen Burdette
2020-06-29trace formattingBen Burdette