Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-05-09 | make sure not to use cached channels for nix-channel --update | Yorick van Pelt | 2 | -3/+3 | |
fixes #1964 | |||||
2018-05-03 | Don't set a CA assertion for paths with references | Eelco Dolstra | 1 | -0/+2 | |
Really fixes #2133. | |||||
2018-05-03 | LocalStore::addValidPath(): Throw error when the CA assertion is wrong | Eelco Dolstra | 1 | -1/+2 | |
Closes #2133. | |||||
2018-05-02 | Fix some random -Wconversion warnings | Eelco Dolstra | 2 | -6/+6 | |
2018-04-23 | globals.hh: don't use '==' to compare string literals | Will Dietz | 1 | -1/+1 | |
Saw this in logs, also reported here: https://github.com/NixOS/nix/commit/8e6108ff71caae180d764ab9e9bff5593724655c#r28707288 | |||||
2018-04-23 | Merge branch 'aarch64-armv7' of git://github.com/lheckemann/nix | Shea Levy | 3 | -10/+13 | |
Support extra compatible architectures (#1916) | |||||
2018-04-23 | Merge branch 'hash-mismatch' of git://github.com/LnL7/nix | Shea Levy | 1 | -2/+2 | |
2018-04-21 | Merge pull request #1707 from dtzWill/fix/issue-1692 | Peter Simons | 1 | -1/+5 | |
ignore "interrupted" exception in progress callback | |||||
2018-04-20 | download: make hash mismatch error consistent with fetchurl | Daiderd Jordan | 1 | -2/+2 | |
2018-04-20 | build.cc: fix bind-mount of /dev/{pts,ptmx} fallback | Will Dietz | 1 | -2/+2 | |
Don't bind-mount these to themselves, mount them into the chroot directory. Fixes pty issues when using sandbox on CentOS 7.4. (build of perlPackages.IOTty fails before this change) | |||||
2018-04-17 | exportReferences: Check whether the path is in the input closure | Eelco Dolstra | 1 | -11/+14 | |
Fixes #2082. | |||||
2018-04-13 | Fix #1921 | Eelco Dolstra | 3 | -4/+14 | |
2018-04-11 | initPlugins: Fix dlopen error message. | Shea Levy | 1 | -1/+1 | |
2018-04-10 | Fix perl-bindings | Eelco Dolstra | 1 | -1/+1 | |
https://hydra.nixos.org/build/72636781 | |||||
2018-04-09 | Export required C++ version in pkgconfig. | Shea Levy | 1 | -1/+1 | |
2018-04-06 | rename the options to mention it's a narinfo TTL as disk cache is used all ↵ | AmineChikhaoui | 2 | -6/+6 | |
over the place for other operations | |||||
2018-04-06 | add documentation for the local disk cache TTL config | AmineChikhaoui | 1 | -6/+8 | |
2018-04-06 | Make the TTL for disk cache configurable, we can now completely disable | AmineChikhaoui | 2 | -8/+11 | |
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 | 1 | -18/+21 | |
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 | 1 | -21/+29 | |
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-29 | Process --option use-case-hack properly | Eelco Dolstra | 1 | -1/+1 | |
Fixes https://github.com/NixOS/nix/issues/2009. | |||||
2018-03-29 | ValidPathInfo::isContentAddressed(): Ensure there are no references | Eelco Dolstra | 1 | -1/+2 | |
2018-03-22 | download: improve error for hash mismatch ("store mismatch") | Will Dietz | 1 | -2/+7 | |
Fixes #1905 | |||||
2018-03-22 | download.cc: fix path for cached files | Will Dietz | 1 | -1/+1 | |
2018-03-22 | Merge branch 'fix/avoid-large-stack-buffers' of https://github.com/dtzWill/nix | Eelco Dolstra | 1 | -3/+3 | |
2018-03-21 | Also make the backwards compatible case of RemoteStore::addToStore run in ↵ | Eelco Dolstra | 1 | -15/+15 | |
constant memory Just because we can. | |||||
2018-03-21 | Make 'nix copy --to daemon' run in constant memory | Eelco Dolstra | 2 | -5/+4 | |
2018-03-21 | Make 'nix copy --to ssh://...' run in constant memory | Eelco Dolstra | 1 | -2/+2 | |
2018-03-21 | Make 'nix copy --from ssh://...' run in constant memory | Eelco Dolstra | 2 | -24/+2 | |
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 | 1 | -1/+2 | |
2018-03-20 | Make <nix/buildenv.nix> a builtin builder | Eelco Dolstra | 3 | -0/+197 | |
This avoids sandbox annoyances. | |||||
2018-03-20 | Move builtinFetchurl to its own file | Eelco Dolstra | 2 | -1/+1 | |
2018-03-20 | Slight simplification | Eelco Dolstra | 1 | -5/+2 | |
2018-03-20 | SSHMaster: Optionally pass -v to ssh | Eelco Dolstra | 1 | -0/+4 | |
2018-03-20 | Hack to get SSH error messages from build-remote | Eelco Dolstra | 1 | -0/+5 | |
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-16 | rename build-extra-platforms -> extra-platforms | Linus Heckemann | 1 | -2/+6 | |
also document it | |||||
2018-03-16 | Reduce substitution memory consumption | Eelco Dolstra | 4 | -35/+57 | |
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 | 1 | -12/+8 | |
This allows decompression to happen in O(1) memory. | |||||
2018-03-16 | Don't retry on CURLE_SSL_CACERT_BADFILE | Eelco Dolstra | 1 | -0/+1 | |
The certificates won't get any better if we retry. | |||||
2018-03-15 | Merge pull request #1965 from masaeedu/master | Eelco Dolstra | 1 | -1/+1 | |
Wrap thread local in function for Cygwin | |||||
2018-03-14 | Catch more possible instances of passing NULL to memcpy. | Shea Levy | 1 | -0/+1 | |
Actually fixes #1976. | |||||
2018-03-14 | Use boost::format from the boost package | Eelco Dolstra | 3 | -6/+6 | |
Note that this only requires headers from boost so it doesn't add a runtime dependency. Also, use Nixpkgs 18.03. | |||||
2018-03-13 | Typo | Eelco Dolstra | 1 | -1/+1 | |
2018-03-12 | Wrap thread local in function for Cygwin | Asad Saeeduddin | 1 | -1/+1 | |
Fixes #1826. See #1352 for a previous instance of a similar change. | |||||
2018-03-07 | Fix #1957 | Eelco Dolstra | 1 | -1/+1 | |
2018-03-06 | rand() -> random(), since we use srandom(). | Will Dietz | 3 | -3/+3 | |
rand() requires we call srand() instead, but might as well use random(). | |||||
2018-03-05 | ssh-ng: Don't forward options to the daemon. | Shea Levy | 2 | -1/+12 | |
This can be iterated on and currently leaves out settings we know we want to forward, but it fixes #1713 and fixes #1935 and isn't fundamentally broken like the status quo. Future changes are suggested in a comment. | |||||
2018-03-02 | hoist vector out of loop just in case | Will Dietz | 1 | -1/+1 | |
2018-03-02 | don't allocate large buffers on the stack | Will Dietz | 1 | -3/+3 | |
2018-02-27 | seccomp: add 32-bit ARM on aarch64-linux | Linus Heckemann | 1 | -0/+4 | |
This allows building armv[67]l-linux derivations on compatible aarch64 machines. Failure to add the architecture may result from missing hardware support, in which case we can't run 32-bit binaries and don't need to restrict them with seccomp anyway, |