Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | 16 | -80/+82 | |
2018-05-02 | Fix bzip2 compression of files > 4 GiB | Eelco Dolstra | 1 | -3/+14 | |
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 | 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 | 4 | -11/+16 | |
Support extra compatible architectures (#1916) | |||||
2018-04-23 | Merge branch 'pos-crash-fix' of git://github.com/dezgeg/nix | Shea Levy | 1 | -1/+1 | |
2018-04-23 | Merge branch 'hash-mismatch' of git://github.com/LnL7/nix | Shea Levy | 1 | -2/+2 | |
2018-04-21 | Fix library ordering in Makefiles | Andrew Dunham | 3 | -3/+3 | |
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 | 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-18 | Allow multiple search experssions in nix search | Daniel Poelzleithner | 1 | -18/+38 | |
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 | 1 | -1/+12 | |
Fixes #2073 | |||||
2018-04-17 | Handle arguments in $EDITOR | Eelco Dolstra | 1 | -2/+2 | |
Fixes #2079. | |||||
2018-04-17 | exportReferences: Check whether the path is in the input closure | Eelco Dolstra | 1 | -11/+14 | |
Fixes #2082. | |||||
2018-04-16 | nix repl: Fix multiline SIGINT handling. | Félix Baylac-Jacqué | 1 | -0/+1 | |
Fixes #2076 | |||||
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-11 | Fix #2057 | Eelco Dolstra | 1 | -0/+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 | 3 | -3/+3 | |
2018-04-09 | Merge branch 'fix/ruby-shebang' of git://github.com/samueldr/nix | Shea Levy | 1 | -1/+1 | |
2018-04-09 | Make prim_exec and prim_importNative available to plugins | Shea Levy | 2 | -2/+10 | |
2018-04-09 | nix-daemon: Exit successfully when interrupted. | Shea Levy | 1 | -1/+1 | |
Fixes #2058. | |||||
2018-04-07 | nix-shell: Fixes use with ruby shebangs. | Samuel Dionne-Riel | 1 | -1/+1 | |
The ported code in 80ebc553eca19dafc64c47420cd49ddd506bc9b7 was incorrectly ported. ``` - $envCommand = "exec $execArgs $interpreter -e 'load(\"$script\")' -- ${\(join ' ', (map shellEscape, @savedArgs))}"; ... + envCommand = (format("exec %1% %2% -e 'load(\"%3%\") -- %4%") % execArgs % interpreter % script % joined.str()).str(); ``` The single-quote finishing the small ruby snippet was lost in translation. | |||||
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-04-03 | libexpr: Make unsafeGetAttrPos not crash on noPos | Tuomas Tynkkynen | 1 | -1/+1 | |
Currently e.g. `builtins.unsafeGetAttrPos "abort" builtins` will eventually segfault because pos->file is an unset Symbol. Found by afl-fuzz. | |||||
2018-03-30 | nix copy: add an example with S3 | zimbatm | 1 | -0/+6 | |
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 | 1 | -0/+2 | |
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 | Fix build | Eelco Dolstra | 1 | -2/+2 | |
2018-03-22 | Tweak | Eelco Dolstra | 1 | -1/+1 | |
2018-03-22 | Merge branch 'fix/avoid-large-stack-buffers' of https://github.com/dtzWill/nix | Eelco Dolstra | 5 | -26/+27 | |
2018-03-21 | Merge branch 'fix/execl-null-sentinel' of git://github.com/dtzWill/nix | Shea Levy | 1 | -5/+5 | |
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 | shared.cc: style: prefer "nullptr" over '(char *)NULL' | Will Dietz | 1 | -5/+5 | |
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 | 4 | -24/+22 | |
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 | execl: cast NULL sentinel to (char *), per man page and compiler warning | Will Dietz | 1 | -5/+5 | |
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 | 1 | -5/+0 | |
2018-03-20 | Style fix | Eelco Dolstra | 1 | -17/+14 | |