Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-04-06 | rename the options to mention it's a narinfo TTL as disk cache is used all ↵ | AmineChikhaoui | |
over the place for other operations | |||
2018-04-06 | add documentation for the local disk cache TTL config | AmineChikhaoui | |
2018-04-06 | Make the TTL for disk cache configurable, we can now completely disable | AmineChikhaoui | |
disk cache lookup for example by doing: nix copy --from <binary-cahe> <store-path> --option \ positive-disk-cache-ttl 0 Issues: #1885 #2035 | |||
2018-04-05 | <nix/buildenv.nix>: Ignore dangling symlinks | Eelco Dolstra | |
Fixes error: getting status of '/nix/store/j8p0vv89k1pf0cn7kmfsdcs7bshwga1i-firefox-52.7.2esr/share/icons/hicolor/48x48/apps/firefox.png': No such file or directory https://github.com/NixOS/nix/issues/1934 Also improve error message on directory/non-directory collisions. | |||
2018-04-05 | <nix/buildenv.nix>: Skip non-directory top-level paths | Eelco Dolstra | |
Fixes https://github.com/NixOS/nix/issues/1934 (at least the "error: opening directory '/nix/store/...-linux-config-4.4.14': Not a directory" issue). | |||
2018-03-30 | nix copy: add an example with S3 | zimbatm | |
I couldn't find a good example how to use it with non-us-east-1 buckets. | |||
2018-03-29 | Remove reference to non-existent manpages | Eelco Dolstra | |
2018-03-29 | Process --option use-case-hack properly | Eelco Dolstra | |
Fixes https://github.com/NixOS/nix/issues/2009. | |||
2018-03-29 | ValidPathInfo::isContentAddressed(): Ensure there are no references | Eelco Dolstra | |
2018-03-22 | download: improve error for hash mismatch ("store mismatch") | Will Dietz | |
Fixes #1905 | |||
2018-03-22 | download.cc: fix path for cached files | Will Dietz | |
2018-03-22 | Fix build | Eelco Dolstra | |
2018-03-22 | Tweak | Eelco Dolstra | |
2018-03-22 | Merge branch 'fix/avoid-large-stack-buffers' of https://github.com/dtzWill/nix | Eelco Dolstra | |
2018-03-21 | Merge branch 'fix/execl-null-sentinel' of git://github.com/dtzWill/nix | Shea Levy | |
2018-03-21 | Also make the backwards compatible case of RemoteStore::addToStore run in ↵ | Eelco Dolstra | |
constant memory Just because we can. | |||
2018-03-21 | Make 'nix copy --to daemon' run in constant memory | Eelco Dolstra | |
2018-03-21 | shared.cc: style: prefer "nullptr" over '(char *)NULL' | Will Dietz | |
2018-03-21 | Make 'nix copy --to ssh://...' run in constant memory | Eelco Dolstra | |
2018-03-21 | Make 'nix copy --from ssh://...' run in constant memory | Eelco Dolstra | |
For instance, this reduced the memory consumption of $ nix copy --from ssh://localhost --to ~/my-nix /nix/store/1n7x0yv8vq6zi90hfmian84vdhd04bgp-blender-2.79a from 632 MiB to 16 MiB. | |||
2018-03-21 | LegacySSHStore: Allow overriding the path to nix-store | Eelco Dolstra | |
2018-03-20 | execl: cast NULL sentinel to (char *), per man page and compiler warning | Will Dietz | |
From exec(3): > The list of arguments must be terminated by a null pointer, and, since these > are variadic functions, this pointer must be cast (char *) NULL | |||
2018-03-20 | Remove unused channel-cache directory | Eelco Dolstra | |
2018-03-20 | Style fix | Eelco Dolstra | |
2018-03-20 | Make <nix/buildenv.nix> a builtin builder | Eelco Dolstra | |
This avoids sandbox annoyances. | |||
2018-03-20 | Move builtinFetchurl to its own file | Eelco Dolstra | |
2018-03-20 | Slight simplification | Eelco Dolstra | |
2018-03-20 | SSHMaster: Optionally pass -v to ssh | Eelco Dolstra | |
2018-03-20 | Hack to get SSH error messages from build-remote | Eelco Dolstra | |
E.g. cannot build on 'ssh://mac1': cannot connect to 'mac1': bash: nix-store: command not found cannot build on 'ssh://mac2': cannot connect to 'mac2': Host key verification failed. cannot build on 'ssh://mac3': cannot connect to 'mac3': Received disconnect from 213... port 6001:2: Too many authentication failures Authentication failed. | |||
2018-03-19 | serialise.cc: remove pessimising move | Will Dietz | |
from clang6: src/libutil/serialise.cc:189:23: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] | |||
2018-03-19 | util: rename stdout/stdin members to avoid conflicts w/standard macro | Will Dietz | |
(cherry picked from commit c389a7fb617ed7bcd617efa68c6a48c00405310d) | |||
2018-03-19 | Shut up signedness warning | Eelco Dolstra | |
2018-03-16 | nix-shell: allow symlinks to .drvs | Linus Heckemann | |
This makes persistent shell environments easier to use. | |||
2018-03-16 | Reduce substitution memory consumption | Eelco Dolstra | |
copyStorePath() now pipes the output of srcStore->narFromPath() directly into dstStore->addToStore(). The sink used by the former is converted into a source usable by the latter using boost::coroutine2. This is based on [1]. This reduces the maximum resident size of $ nix build --store ~/my-nix/ /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1 --substituters file:///tmp/binary-cache-xz/ --no-require-sigs from 418592 KiB to 53416 KiB. (The previous commit also reduced the runtime from ~4.2s to ~3.4s, not sure why.) A further improvement will be to download files into a Sink. [1] https://github.com/NixOS/nix/compare/master...Mathnerd314:dump-fix-coroutine#diff-dcbcac55a634031f9cc73707da6e4b18 Issue #1969. | |||
2018-03-16 | decompress(): Use a Source and Sink | Eelco Dolstra | |
This allows decompression to happen in O(1) memory. | |||
2018-03-16 | Merge pull request #1939 from dezgeg/lexer-fix | Eelco Dolstra | |
libexpr: Recognize newline in more places in lexer | |||
2018-03-16 | Don't retry on CURLE_SSL_CACERT_BADFILE | Eelco Dolstra | |
The certificates won't get any better if we retry. | |||
2018-03-15 | Filter ANSI colors when not writing to a terminal | Eelco Dolstra | |
Fixes https://github.com/NixOS/nixpkgs/issues/37114. | |||
2018-03-15 | Merge pull request #1965 from masaeedu/master | Eelco Dolstra | |
Wrap thread local in function for Cygwin | |||
2018-03-14 | Catch more possible instances of passing NULL to memcpy. | Shea Levy | |
Actually fixes #1976. | |||
2018-03-14 | Merge branch 'fix/errno-sighandler' of git://github.com/dtzWill/nix | Shea Levy | |
2018-03-14 | concatLists: Don't pass NULL pointers to memcpy. | Shea Levy | |
This is UB, even if the size is 0. See #1976. Fixes #1976. | |||
2018-03-14 | nix-daemon: preserve errno in signal handler (thanks tsan) | Will Dietz | |
2018-03-14 | Fix compatibility with latest boost::format | Eelco Dolstra | |
2018-03-14 | Use boost::format from the boost package | Eelco Dolstra | |
Note that this only requires headers from boost so it doesn't add a runtime dependency. Also, use Nixpkgs 18.03. | |||
2018-03-13 | Merge pull request #1906 from dtzWill/fix/nix-search | Shea Levy | |
nix search: tests and fix #1893 and part of #1892 | |||
2018-03-13 | build-remote: Don't substitute the build result | Eelco Dolstra | |
2018-03-13 | Typo | Eelco Dolstra | |
2018-03-13 | fetchGit: Fix debug message | Guillaume Maudoux | |
2018-03-12 | Wrap thread local in function for Cygwin | Asad Saeeduddin | |
Fixes #1826. See #1352 for a previous instance of a similar change. |