Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-13 | Remove 'accessor' from addToStore() | Eelco Dolstra | |
This is only used by hydra-queue-runner and it's better to implement it there. | |||
2020-07-13 | NarAccessor: Run in constant memory | Eelco Dolstra | |
2020-07-13 | Make 'nix copy' to file:// binary caches run in constant memory | Eelco Dolstra | |
2020-07-13 | Store::pathInfoToJSON(): Use consistent format for downloadHash | Eelco Dolstra | |
2020-07-13 | toStorePath(): Return a StorePath and the suffix | Eelco Dolstra | |
2020-07-13 | Fix 'nix verify --all' on a binary cache and add a test | Eelco Dolstra | |
2020-07-12 | Fix ANSI color constants | Maximilian Bosch | |
The `m` acts as termination-symbol when declaring graphics. Because of this, the `;1m` doesn't have any effect and is directly printed to the console: ``` $ nix repl > builtins.fetchGit { /* ... */ } { outPath = "/nix/store/s0f0iz4a41cxx2h055lmh6p2d5k5bc6r-source"; rev = "e73e45b723a9a6eecb98bd5f3df395d9ab3633b6"; revCount = ;1m428; shortRev = "e73e45b"; submodules = ;1mfalse; } ``` Introduced by 6403508f5a2fcf073b2a0d4e5fcf5f5ebb890384. | |||
2020-07-10 | Avoid a redundant hash | Eelco Dolstra | |
2020-07-10 | Factor out commonality between nix-prefetch-url and nix-store --add-fixed | Eelco Dolstra | |
2020-07-10 | nix-store --add-fixed: Run in constant memory | Eelco Dolstra | |
2020-07-10 | nix-prefetch-url: Run in constant memory when using RemoteStore | Eelco Dolstra | |
Fixes #3684. | |||
2020-07-09 | LocalStore::addToStore(srcPath): Handle the flat case | Eelco Dolstra | |
This helps nix-prefetch-url when using a local store. | |||
2020-07-08 | Cleanup | Eelco Dolstra | |
2020-07-08 | Make LocalStore::addToStore(srcPath) run in constant memory | Eelco 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-08 | Fix '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-07 | Fix coverage build | Eelco Dolstra | |
2020-07-07 | exportReferencesGraph: Fix support for non-top-level store paths | Eelco Dolstra | |
Fixes #3471. | |||
2020-07-06 | bump | Ben Burdette | |
2020-07-06 | revamp trace code and test | Ben Burdette | |
2020-07-04 | spacing | Ben Burdette | |
2020-07-03 | Merge branch 'master' into add-trace | Ben Burdette | |
2020-07-03 | nix develop: Fix bad regex | Eelco Dolstra | |
This was accepted by libstdc++ but not libc++. https://hydra.nixos.org/build/123569154 | |||
2020-07-03 | Shut up a clang warning | Eelco Dolstra | |
2020-07-03 | Shorten the path to the test root | regnat | |
Fix a socket length failure on the OSX builders | |||
2020-07-02 | Fix abort in 'nix develop' | Eelco Dolstra | |
2020-07-02 | spacing | Ben Burdette | |
2020-07-02 | move showTrace to new loggerSettings | Ben Burdette | |
2020-07-02 | assert for invalid fileorigin | Ben Burdette | |
2020-07-01 | spacing | Ben Burdette | |
2020-07-01 | if no errLoc, no Loc. | Ben Burdette | |
2020-07-01 | don't include errpos for addErrorContext | Ben Burdette | |
2020-07-01 | non-pos trace test | Ben Burdette | |
2020-07-01 | Cleanup | Eelco Dolstra | |
2020-07-01 | Merge branch 'remote-query-outputs' of https://github.com/tweag/nix | Eelco Dolstra | |
2020-06-30 | fix tests with the 'from string' change | Ben Burdette | |
2020-06-30 | comments and cleanup | Ben Burdette | |
2020-06-30 | double addtrace for 'called from' | Ben Burdette | |
2020-06-30 | Merge branch 'master' into add-trace | Ben Burdette | |
2020-06-30 | invalid pos check | Ben Burdette | |
2020-06-30 | check for a null symbol | Ben Burdette | |
2020-06-29 | trace formatting | Ben Burdette | |
2020-06-29 | NAR parser: Fix missing name field check | Eelco Dolstra | |
Discovered by @Kloenk. | |||
2020-06-29 | showTrace flag in loggers | Ben Burdette | |
2020-06-29 | Merge pull request #3729 from obsidiansystems/simpler-hased-mirror | Eelco Dolstra | |
hashed-mirrors: Use parsed derivation output rather than reconstructing it | |||
2020-06-29 | Merge pull request #3749 from rodarima/master | Eelco Dolstra | |
Fall back to copyPath if link fails with EPERM | |||
2020-06-27 | showtrace as function arg | Ben Burdette | |
2020-06-25 | 'string' makes more sense in nix repl | Ben Burdette | |
2020-06-25 | showTrace flag for ErrorInfo; showTrace test. | Ben Burdette | |
2020-06-25 | Fix empty std::optional dereference in writeDerivation() | Eelco Dolstra | |
https://hydra.nixos.org/build/123017579 | |||
2020-06-25 | Fall back to copyPath if link fails with EPERM | Rodrigo | |
BeeGFS doesn't allow hard-links and returns EPERM, so we fall back to copyPath. See https://github.com/NixOS/nix/issues/3748 |