Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-05-24 | Merge branch 'prompt-terminator' of https://github.com/lheckemann/nix | Eelco Dolstra | |
2017-05-24 | Merge pull request #1382 from FRidh/patch-1 | Eelco Dolstra | |
Document fetchTarball can take a sha256 | |||
2017-05-24 | Merge branch 'nar-accessor-tree' of https://github.com/bennofs/nix | Eelco Dolstra | |
2017-05-17 | Document that builtins.match takes a POSIX extended RE | Eelco Dolstra | |
2017-05-17 | builtins.match: Improve error message for bad regular expression | Eelco Dolstra | |
Issue #1331. | |||
2017-05-16 | Improve progress indicator | Eelco Dolstra | |
2017-05-15 | nar-accessor.cc: remove unused member NarIndexer::currentName | Benno Fünfstück | |
2017-05-15 | nar-accessor: non-recursive NarMember::find | Benno Fünfstück | |
This avoids a possible stack overflow if directories are very deeply nested. | |||
2017-05-15 | Simplify fixed-output check | Eelco Dolstra | |
2017-05-15 | Disallow outputHash being null or an empty string | Eelco Dolstra | |
Fixes #1384. | |||
2017-05-15 | Add --with-sandbox-shell configure flag | Eelco Dolstra | |
And add a 116 KiB ash shell from busybox to the release build. This helps to make sandbox builds work out of the box on non-NixOS systems and with diverted stores. | |||
2017-05-15 | Linux sandbox: Don't barf on invalid paths | Eelco Dolstra | |
This is useful when we're using a diverted store (e.g. "--store local?root=/tmp/nix") in conjunction with a statically-linked sh from the host store (e.g. "sandbox-paths =/bin/sh=/nix/store/.../bin/busybox"). | |||
2017-05-15 | Make fmt() non-recursive | Eelco Dolstra | |
2017-05-15 | nar-archive.cc: add tests for the nar index | Benno Fünfstück | |
2017-05-15 | Merge pull request #1387 from bennofs/nix-ls-slash | Eelco Dolstra | |
nix ls: support '/' for the root directory | |||
2017-05-15 | nix ls: support '/' for the root directory | Benno Fünfstück | |
2017-05-15 | nar-accessor: use tree, fixes readDirectory missing children | Benno Fünfstück | |
Previously, if a directory `foo` existed and a file `foo-` (where `-` is any character that is sorted before `/`), then `readDirectory` would return an empty list. To fix this, we now use a tree where we can just access the children of the node, and do not need to rely on sorting behavior to list the contents of a directory. | |||
2017-05-11 | Add an option for extending the user agent header | Eelco Dolstra | |
This is useful e.g. for distinguishing traffic to a binary cache (e.g. certain machines can use a different tag in the user agent). | |||
2017-05-11 | Fix typo | Eelco Dolstra | |
2017-05-11 | Tweak error message | Eelco Dolstra | |
2017-05-11 | Don't allow untrusted users to set info.ultimate | Eelco Dolstra | |
Note that a trusted signature was still required in this case so it was not a huge deal. | |||
2017-05-11 | Document fetchTarball can take a sha256 | Frederik Rietdijk | |
Note that I refer to `nix-prefetch-url`. | |||
2017-05-11 | Change the meaning of info.ultimate | Eelco Dolstra | |
It now means "paths that were built locally". It no longer includes paths that were added locally. For those we don't need info.ultimate, since we have the content-addressability assertion (info.ca). | |||
2017-05-11 | LocalStore::addToStore(): Check info.narSize | Eelco Dolstra | |
It allowed the client to specify bogus narSize values. In particular, Downloader::downloadCached wasn't setting narSize at all. | |||
2017-05-10 | Typo | Eelco Dolstra | |
2017-05-10 | Replace readline by linenoise | Eelco Dolstra | |
Using linenoise avoids a license compatibility issue (#1356), is a lot smaller and doesn't pull in ncurses. | |||
2017-05-10 | nix-shell: use appropriate prompt terminator | Linus Heckemann | |
If running nix-shell as root, the terminator should be # and not $. | |||
2017-05-10 | doc: builtins.attrNames returns alphabetically sorted list | Domen Kožar | |
2017-05-08 | Add "nix edit" command | Eelco Dolstra | |
This is a little convenience command that opens the Nix expression of the specified package. For example, nix edit nixpkgs.perlPackages.Moose opens <nixpkgs/pkgs/top-level/perl-packages.nix> in $EDITOR (at the right line number for some editors). This requires the package to have a meta.position attribute. | |||
2017-05-08 | Minor cleanup | Eelco Dolstra | |
2017-05-08 | Linux sandbox: Fix compatibility with older kernels | Eelco Dolstra | |
2017-05-08 | build-remote: Check remote build status | Eelco Dolstra | |
2017-05-08 | Remove superfluous #ifdef | Eelco Dolstra | |
2017-05-07 | nix-profile.sh: remove sbin from PATH | Jörg Thalheim | |
sbin is a symlink to bin. profiles only contains packages, which have this symlink. It is a subset of bin. related to https://github.com/NixOS/nixpkgs/pull/25550 | |||
2017-05-05 | Make the location of the build directory in the sandbox configurable | Eelco Dolstra | |
This is mostly for use in the sandbox tests, since if the Nix store is under /build, then we can't use /build as the build directory. | |||
2017-05-05 | Figure out the user's home directory if $HOME is not set | Eelco Dolstra | |
2017-05-04 | Linux sandbox: Use /build instead of /tmp as $TMPDIR | Eelco Dolstra | |
There is a security issue when a build accidentally stores its $TMPDIR in some critical place, such as an RPATH. If TMPDIR=/tmp/nix-build-..., then any user on the system can recreate that directory and inject libraries into the RPATH of programs executed by other users. Since /build probably doesn't exist (or isn't world-writable), this mitigates the issue. | |||
2017-05-04 | nix dump-path: Add | Eelco Dolstra | |
This is primarily useful for extracting NARs from other stores (like binary caches), which "nix-store --dump" cannot do. | |||
2017-05-03 | Fix Ubuntu 16.10 build | Eelco Dolstra | |
http://hydra.nixos.org/build/52420073 | |||
2017-05-03 | perl-bindings: Remove unused --with-store-dir flag | Eelco Dolstra | |
2017-05-03 | Fix build on gcc 4.9 | Eelco Dolstra | |
http://hydra.nixos.org/build/52408843 | |||
2017-05-03 | nix-shell: Implement passAsFile | Eelco Dolstra | |
2017-05-03 | nix eval: Add a --raw flag | Eelco Dolstra | |
Similar to "jq -r", this prints the evaluation result (which must be a string value) unquoted. | |||
2017-05-03 | Fix perlBindings.x86_64-darwin | Eelco Dolstra | |
http://hydra.nixos.org/build/52401151 | |||
2017-05-03 | Merge pull request #1371 from regnat/doc_--xml_fix | Eelco Dolstra | |
fix the description of --xml and --json | |||
2017-05-03 | doc: fix the description of --xml and --json | regnat | |
Those options seem to only apply with --eval and not with --parse. | |||
2017-05-02 | build-remote: Add a basic test | Eelco Dolstra | |
This only runs on Linux because it requires a diverted store (which uses mount/user namespaces). | |||
2017-05-02 | Fix "nix ... --all" | Eelco Dolstra | |
When "--all" is used, we should not fill in a default installable. | |||
2017-05-02 | Add a test for diverted stores | Eelco Dolstra | |
2017-05-02 | LocalStoreAccessor: Fix handling of diverted stores | Eelco Dolstra | |