lix/src
Eelco Dolstra 6185d25e52
Make 'nix copy --to daemon' run in constant memory (daemon side)
Continuation of 97002b684c. This makes
the daemon use constant memory. For example, it reduces the daemon's
maximum RSS on

  $ nix copy --from ~/my-nix --to daemon /nix/store/1n7x0yv8vq6zi90hfmian84vdhd04bgp-blender-2.79a

from 264 MiB to 7 MiB.

We now use a TunnelSource to prevent the connection from ending up in
an undefined state if an exception is thrown while the NAR is being
sent.

Issue https://github.com/NixOS/nix/issues/1681.
2018-05-30 13:26:48 +02:00
..
build-remote Merge branch 'aarch64-armv7' of git://github.com/lheckemann/nix 2018-04-23 08:48:22 -04:00
libexpr Merge pull request #2187 from bgamari/stoi-exceptions 2018-05-28 14:54:49 +02:00
libmain Fix some random -Wconversion warnings 2018-05-02 13:56:34 +02:00
libstore Make 'nix copy --to daemon' run in constant memory (daemon side) 2018-05-30 13:26:48 +02:00
libutil serialise: fix buffer size used, hide method for internal use only 2018-05-21 17:30:38 -05:00
linenoise linenoise.cpp: allow completions from empty input 2017-12-19 12:52:10 -06:00
nix Allow multiple search experssions in nix search 2018-04-18 21:08:35 +02:00
nix-build nix-shell: Only download requested outputs 2018-05-07 14:58:25 +02:00
nix-channel make sure not to use cached channels for nix-channel --update 2018-05-09 16:18:20 +02:00
nix-collect-garbage Add plugins to make Nix more extensible. 2018-02-08 12:44:37 -05:00
nix-copy-closure Fix library ordering in Makefiles 2018-04-21 21:10:52 -07:00
nix-daemon Make 'nix copy --to daemon' run in constant memory (daemon side) 2018-05-30 13:26:48 +02:00
nix-env Fix some random -Wconversion warnings 2018-05-02 13:56:34 +02:00
nix-instantiate nix-shell: allow symlinks to .drvs 2018-03-16 22:15:24 +00:00
nix-prefetch-url Add plugins to make Nix more extensible. 2018-02-08 12:44:37 -05:00
nix-store Fix some random -Wconversion warnings 2018-05-02 13:56:34 +02:00
nlohmann nlohmann-json: 2.1.1 -> 3.0.1 2018-01-22 12:19:50 -06:00
resolve-system-dependencies Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00