Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-30 | Move evaluator-specific settings out of libstore | Eelco Dolstra | |
2018-05-30 | Move some Download-specific settings to download.cc | Eelco Dolstra | |
2018-05-30 | Modularize config settings | Eelco Dolstra | |
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 | |
Fixes https://github.com/NixOS/nix/issues/2015. | |||
2018-05-30 | Make 'nix copy --to daemon' run in constant memory (daemon side) | Eelco Dolstra | |
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 | |
2018-05-30 | Use extended SQLite error codes | Eelco Dolstra | |
2018-05-28 | Merge pull request #2187 from bgamari/stoi-exceptions | Eelco Dolstra | |
json-to-value: Use strtol instead of strtoi | |||
2018-05-26 | json-to-value: Use strtol instead of strtoi | Ben Gamari | |
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 | |
2018-05-26 | nix-daemon: remove unused "pendingMsgs" variable | Will Dietz | |
2018-05-25 | libstore/download: remove unused function "getTime()" | Will Dietz | |
2018-05-24 | Merge pull request #2157 from volth/bitwise | Eelco Dolstra | |
add builtins: __bitAnd, __bitOr, __bitXor | |||
2018-05-22 | Make Env self-describing | Eelco Dolstra | |
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 | |
This prevents hydra-eval-jobs from statting the same files over and over again. | |||
2018-05-21 | serialise: fix buffer size used, hide method for internal use only | Will Dietz | |
Fixes #2169. | |||
2018-05-16 | add `mod' and bitwise builtins: camel-case function names | volth | |
2018-05-16 | add `mod' and bitwise builtins: remove `mod' and shifts | volth | |
2018-05-16 | add `mod' and bitwise builtins: remove infix functions | volth | |
2018-05-15 | Merge pull request #2145 from serokell/uncached-channel | Eelco Dolstra | |
make sure not to use cached channels for nix-channel --update | |||
2018-05-12 | add `mod' and bitwise builtins | volth | |
2018-05-11 | Don't return negative numbers from the flex tokenizer | Eelco Dolstra | |
Fixes #1374. Closes #2129. | |||
2018-05-11 | Revert "Throw a specific error for incomplete parse errors." | Eelco Dolstra | |
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 | |
2018-05-10 | Merge branch 's3-multipart-uploads' of https://github.com/AmineChikhaoui/nix | Eelco Dolstra | |
2018-05-09 | make sure not to use cached channels for nix-channel --update | Yorick van Pelt | |
fixes #1964 | |||
2018-05-09 | In restricted eval mode, allow access to the closure of store paths | Eelco Dolstra | |
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-07 | share the executor between multiple copy threads. | AmineChikhaoui | |
2018-05-07 | add a FIXME note to find a way to abort the multipart uploads in | AmineChikhaoui | |
case the nix command is interrupted. | |||
2018-05-07 | Support multi-part uploads for large NARs that exceed the size of | AmineChikhaoui | |
5Gb. | |||
2018-05-07 | nix-shell: Only download requested outputs | Eelco Dolstra | |
Fixes #2116. | |||
2018-05-03 | Don't set a CA assertion for paths with references | Eelco Dolstra | |
Really fixes #2133. | |||
2018-05-03 | LocalStore::addValidPath(): Throw error when the CA assertion is wrong | Eelco Dolstra | |
Closes #2133. | |||
2018-05-02 | Fix some random -Wconversion warnings | Eelco Dolstra | |
2018-05-02 | Fix bzip2 compression of files > 4 GiB | Eelco Dolstra | |
Bzip2's 'avail_in' parameter is declared as an unsigned int, so assigning a size_t length to it led to silent truncation. Fixes #2111. | |||
2018-04-23 | globals.hh: don't use '==' to compare string literals | Will Dietz | |
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 | |
Support extra compatible architectures (#1916) | |||
2018-04-23 | Merge branch 'pos-crash-fix' of git://github.com/dezgeg/nix | Shea Levy | |
2018-04-23 | Merge branch 'hash-mismatch' of git://github.com/LnL7/nix | Shea Levy | |
2018-04-21 | Fix library ordering in Makefiles | Andrew Dunham | |
The existing ordering linked `libutil` before `libstore`, which causes link failures when building statically. This is due to `libstore` using functions from `libutil`, and the fact that symbol resolution works "forward" - i.e. if you pass `-lfoo -lbar -lbaz`, any symbols that `libbar` uses from `libbaz` will be resolved, but symbols from `libfoo` will not since it comes first in the command line. All this to say: this commit reorders the libraries which fixes the link errors. | |||
2018-04-21 | Merge pull request #1707 from dtzWill/fix/issue-1692 | Peter Simons | |
ignore "interrupted" exception in progress callback | |||
2018-04-20 | download: make hash mismatch error consistent with fetchurl | Daiderd Jordan | |
2018-04-20 | build.cc: fix bind-mount of /dev/{pts,ptmx} fallback | Will Dietz | |
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-18 | Allow multiple search experssions in nix search | Daniel Poelzleithner | |
The common use case is to search for packages containing multiple words like a "git" "frontend". Having only one expressions makes this simple regular use case very complicated. Instead, search accepts multiple regular epressions which all need to match. nix search git 'gui|frontend' returns a list of all git uis for example | |||
2018-04-17 | isFunction: True on primops. | Shea Levy | |
Fixes #2073 | |||
2018-04-17 | Handle arguments in $EDITOR | Eelco Dolstra | |
Fixes #2079. | |||
2018-04-17 | exportReferences: Check whether the path is in the input closure | Eelco Dolstra | |
Fixes #2082. | |||
2018-04-16 | nix repl: Fix multiline SIGINT handling. | Félix Baylac-Jacqué | |
Fixes #2076 | |||
2018-04-13 | Fix #1921 | Eelco Dolstra | |
2018-04-11 | initPlugins: Fix dlopen error message. | Shea Levy | |