Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-05-30 | Make HttpBinaryCacheStore::narFromPath() run in constant memory | Eelco Dolstra | 3 | -3/+116 | |
This reduces memory consumption of nix copy --from https://cache.nixos.org --to ~/my-nix /nix/store/95cwv4q54dc6giaqv6q6p4r02ia2km35-blender-2.79 from 176 MiB to 82 MiB. (The remaining memory is probably due to xz decompression overhead.) Issue https://github.com/NixOS/nix/issues/1681. Issue https://github.com/NixOS/nix/issues/1969. | |||||
2018-05-30 | Make LocalBinaryCacheStore::narFromPath() run in constant memory | Eelco Dolstra | 6 | -31/+65 | |
This reduces memory consumption of nix copy --from file://... --to ~/my-nix /nix/store/95cwv4q54dc6giaqv6q6p4r02ia2km35-blender-2.79 from 514 MiB to 18 MiB for an uncompressed binary cache, and from 192 MiB to 53 MiB for a bzipped binary cache. It may also be faster because fetching can happen concurrently with decompression/writing. Continuation of 48662d151bdf4a38670897beacea9d1bd750376a. Issue https://github.com/NixOS/nix/issues/1681. | |||||
2018-05-30 | Simplify the callback mechanism | Eelco Dolstra | 16 | -179/+151 | |
2018-05-30 | Move evaluator-specific settings out of libstore | Eelco Dolstra | 7 | -31/+42 | |
2018-05-30 | Move some Download-specific settings to download.cc | Eelco Dolstra | 3 | -22/+25 | |
2018-05-30 | Modularize config settings | Eelco Dolstra | 15 | -130/+192 | |
Allow global config settings to be defined in multiple Config classes. For example, this means that libutil can have settings and evaluator settings can be moved out of libstore. The Config classes are registered in a new GlobalConfig class to which config files etc. are applied. Relevant to https://github.com/NixOS/nix/issues/2009 in that it removes the need for ad hoc handling of useCaseHack, which was the underlying cause of that issue. | |||||
2018-05-30 | Fix assertion failure in storePathToHash() | Eelco Dolstra | 1 | -0/+2 | |
Fixes https://github.com/NixOS/nix/issues/2015. | |||||
2018-05-30 | Make 'nix copy --to daemon' run in constant memory (daemon side) | Eelco Dolstra | 3 | -6/+17 | |
Continuation of 97002b684c902dadcd351a67208f9c2a88ff8f8f. 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 | LocalStore::addToStore: Throw an exception if no hash is given | Eelco Dolstra | 1 | -1/+2 | |
2018-05-30 | Use extended SQLite error codes | Eelco Dolstra | 1 | -1/+2 | |
2018-05-28 | Merge pull request #2187 from bgamari/stoi-exceptions | Eelco Dolstra | 1 | -1/+1 | |
json-to-value: Use strtol instead of strtoi | |||||
2018-05-28 | Merge pull request #2186 from dtzWill/fix/cxx14-static-assert | Eelco Dolstra | 1 | -1/+1 | |
eval.cc: add message to static_assert, message can be omitted w/c++17 | |||||
2018-05-26 | json-to-value: Use strtol instead of strtoi | Ben Gamari | 1 | -1/+1 | |
NixInt is long, so strtoi is too restrictive. | |||||
2018-05-26 | eval.cc: add message to static_assert, message can be omitted w/c++17 | Will Dietz | 1 | -1/+1 | |
2018-05-26 | nix-daemon: remove unused "pendingMsgs" variable | Will Dietz | 1 | -2/+0 | |
2018-05-26 | Merge pull request #2181 from grahamc/nix-install-behind-mitm-proxy | Eelco Dolstra | 3 | -5/+75 | |
Install Nix behind MITM proxy | |||||
2018-05-25 | libstore/download: remove unused function "getTime()" | Will Dietz | 1 | -7/+0 | |
2018-05-25 | Document NIX_SSL_CERT_FILE for installation | Graham Christensen | 1 | -1/+48 | |
2018-05-25 | multi-user profile: borrow single user profiles' NIX_SSL_CERT_FILE finding logic | Graham Christensen | 1 | -1/+18 | |
2018-05-25 | install-multi-user: don't force NIX_SSL_CERT_FILE | Graham Christensen | 1 | -3/+9 | |
Following the lead of the single user installer, if NIX_SSL_CERT_FILE is explicitly set prior to running, accept the user-provided version. | |||||
2018-05-25 | Merge pull request #1664 from matthewbauer/patch-4 | Eelco Dolstra | 1 | -1/+1 | |
Setup NIX_PATH correctly in nix-profile-daemon | |||||
2018-05-24 | Merge pull request #2157 from volth/bitwise | Eelco Dolstra | 4 | -1/+52 | |
add builtins: __bitAnd, __bitOr, __bitXor | |||||
2018-05-24 | add docs and tests | volth | 3 | -1/+35 | |
2018-05-24 | Merge pull request #2178 from alexfmpe/fix-docs-check-suffix | Eelco Dolstra | 1 | -1/+1 | |
Fix docs on --check suffix | |||||
2018-05-23 | Fix docs on --check suffix | Alexandre Esteves | 1 | -1/+1 | |
2018-05-22 | Make Env self-describing | Eelco Dolstra | 2 | -8/+12 | |
If the Env denotes a 'with', then values[0] may be an Expr* cast to a Value*. For code that generically traverses Values/Envs, it's useful to know this. | |||||
2018-05-22 | Memoise checkSourcePath() | Eelco Dolstra | 2 | -1/+11 | |
This prevents hydra-eval-jobs from statting the same files over and over again. | |||||
2018-05-22 | Merge pull request #2173 from dtzWill/fix/serialise-read-unbuffered | Eelco Dolstra | 3 | -5/+9 | |
serialise: fix buffer size used, hide method for internal use only | |||||
2018-05-21 | serialise: fix buffer size used, hide method for internal use only | Will Dietz | 3 | -5/+9 | |
Fixes #2169. | |||||
2018-05-16 | add `mod' and bitwise builtins: camel-case function names | volth | 1 | -6/+6 | |
2018-05-16 | add `mod' and bitwise builtins: remove `mod' and shifts | volth | 1 | -36/+0 | |
2018-05-16 | add `mod' and bitwise builtins: remove infix functions | volth | 1 | -7/+0 | |
2018-05-15 | Merge pull request #2145 from serokell/uncached-channel | Eelco Dolstra | 3 | -4/+4 | |
make sure not to use cached channels for nix-channel --update | |||||
2018-05-12 | add `mod' and bitwise builtins | volth | 2 | -0/+60 | |
2018-05-11 | Don't return negative numbers from the flex tokenizer | Eelco Dolstra | 2 | -1/+6 | |
Fixes #1374. Closes #2129. | |||||
2018-05-11 | Revert "Throw a specific error for incomplete parse errors." | Eelco Dolstra | 3 | -11/+1 | |
This reverts commit 6498adb002bcf7e715afe46c23b8635d4592c156. We don't actually use IncompleteParseError in 'nix repl'. | |||||
2018-05-10 | Remove mention of default since we already know the default | Eelco Dolstra | 1 | -1/+1 | |
2018-05-10 | Merge branch 's3-multipart-uploads' of https://github.com/AmineChikhaoui/nix | Eelco Dolstra | 3 | -18/+66 | |
2018-05-10 | Merge pull request #2146 from adevress/spec-filefix | Eelco Dolstra | 1 | -21/+40 | |
Cleanup and Update of nix.spec file | |||||
2018-05-10 | Merge pull request #2142 from domenkozar/docker-2.0.1 | Eelco Dolstra | 2 | -2/+10 | |
Docker 2.0.1 | |||||
2018-05-09 | Cleanup of nix.spec file to allow build on EL7 and beyond | Adrien Devresse | 1 | -21/+40 | |
- Clean deprecated spec file macros ( < EL6 ) - Allow to build Nix on EL7 using Software collection and Copr backports - Add conditional build to build Nix RPM without documentation for dev builds - Add missing BuildRequires (openssl, and others ) | |||||
2018-05-09 | make sure not to use cached channels for nix-channel --update | Yorick van Pelt | 3 | -4/+4 | |
fixes #1964 | |||||
2018-05-09 | In restricted eval mode, allow access to the closure of store paths | Eelco Dolstra | 1 | -1/+11 | |
E.g. this makes nix eval --restrict-eval -I /nix/store/foo '(builtins.readFile "/nix/store/foo/symlink/bla")' (where /nix/store/foo/symlink is a symlink to another path in the closure of /nix/store/foo) succeed. This fixes a regression in Hydra compared to Nix 1.x (where there were no restrictions at all on access to the Nix store). | |||||
2018-05-08 | docker readme: simplify | Domen Kožar | 1 | -4/+2 | |
2018-05-08 | Dockerfile: 2.0.2 | Domen Kožar | 1 | -2/+2 | |
2018-05-08 | Add README for docker | Domen Kožar | 1 | -0/+10 | |
2018-05-08 | Dockerfile: update to 2.0.1 | Domen Kožar | 1 | -2/+2 | |
2018-05-07 | share the executor between multiple copy threads. | AmineChikhaoui | 1 | -2/+2 | |
2018-05-07 | add a FIXME note to find a way to abort the multipart uploads in | AmineChikhaoui | 1 | -2/+2 | |
case the nix command is interrupted. | |||||
2018-05-07 | Support multi-part uploads for large NARs that exceed the size of | AmineChikhaoui | 3 | -18/+66 | |
5Gb. |