Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-05-24 | Merge branch 'nar-accessor-tree' of https://github.com/bennofs/nix | Eelco Dolstra | 3 | -1/+48 | |
2017-05-17 | Document that builtins.match takes a POSIX extended RE | Eelco Dolstra | 1 | -0/+3 | |
2017-05-15 | nar-archive.cc: add tests for the nar index | Benno Fünfstück | 3 | -1/+48 | |
2017-05-08 | Linux sandbox: Fix compatibility with older kernels | Eelco Dolstra | 1 | -1/+1 | |
2017-05-05 | Make the location of the build directory in the sandbox configurable | Eelco Dolstra | 1 | -2/+6 | |
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-02 | build-remote: Add a basic test | Eelco Dolstra | 3 | -1/+27 | |
This only runs on Linux because it requires a diverted store (which uses mount/user namespaces). | |||||
2017-05-02 | Add a test for diverted stores | Eelco Dolstra | 2 | -1/+29 | |
2017-05-02 | Fix build hook test | Eelco Dolstra | 1 | -2/+2 | |
2017-05-01 | Remove $NIX_BUILD_HOOK and $NIX_CURRENT_LOAD | Eelco Dolstra | 1 | -1/+0 | |
This is to simplify remote build configuration. These environment variables predate nix.conf. The build hook now has a sensible default (namely build-remote). The current load is kept in the Nix state directory now. | |||||
2017-05-01 | Fix lexer to support `$'` in multiline strings. | Guillaume Maudoux | 2 | -2/+10 | |
2017-04-25 | Fix nix-shell test | Eelco Dolstra | 1 | -2/+4 | |
2017-04-13 | Convert Settings to the new config system | Eelco Dolstra | 1 | -1/+1 | |
This makes all config options self-documenting. Unknown or unparseable config settings and --option flags now cause a warning. | |||||
2017-04-08 | tests/timeout: create output so tests don't trivially pass | Will Dietz | 1 | -0/+3 | |
Timeout tests rely on failed build to determine success, so make sure these derivations (silent in particular) don't fail regardless of timeout behavior. | |||||
2017-04-08 | Process nix.conf options in "new" nix commands, add test. | Will Dietz | 1 | -0/+5 | |
Without this (minor) change, the options set using "--option" or read from nix.conf were parsed but not used. | |||||
2017-03-31 | Merge branch 'remove-perl' of https://github.com/shlevy/nix | Eelco Dolstra | 1 | -6/+6 | |
2017-03-21 | Fix tests to reflect the signed-binary-caches default change | Eelco Dolstra | 2 | -7/+7 | |
2017-02-24 | Fix nix-shell tests | Eelco Dolstra | 2 | -0/+2 | |
The nix-shell fix in 668fef2e4f1c7758e2a55e355b4826014d5b7ba9 revealed that we had some --pure tests that incorrectly depended on PATH from config.nix's mkDerivation being overwritten by the caller's PATH. http://hydra.nixos.org/build/49242478 | |||||
2017-02-21 | useChroot -> useSandbox | Eelco Dolstra | 1 | -1/+1 | |
2017-02-07 | Remove perl dependency. | Shea Levy | 1 | -6/+6 | |
Fixes #341 | |||||
2017-01-19 | Merge pull request #981 from shlevy/build-remote-c++ | Eelco Dolstra | 1 | -0/+1 | |
build-remote: Implement in C++ | |||||
2017-01-19 | Kill builds when we get EOF on the log FD | Eelco Dolstra | 2 | -0/+13 | |
This closes a long-time bug that allowed builds to hang Nix indefinitely (regardless of timeouts) simply by doing exec > /dev/null 2>&1; while true; do true; done Now, on EOF, we just send SIGKILL to the child to make sure it's really gone. | |||||
2017-01-19 | Add a test for --max-silent-time | Eelco Dolstra | 3 | -7/+24 | |
2017-01-03 | nix-shell: In #! mode, pass the last argument | Eelco Dolstra | 2 | -3/+3 | |
"i < argc - 1" should be "i < argc". | |||||
2017-01-03 | tests: Add simple tests for nix-shell | Tuomas Tynkkynen | 4 | -1/+72 | |
nix-shell -A, -p and -i are lightly tested. | |||||
2016-12-19 | Revert "Merge branch 'seccomp' of https://github.com/aszlig/nix" | Eelco Dolstra | 1 | -54/+0 | |
This reverts commit 9f3f2e21edb17dbcd674539dff96efb6cceca10c, reversing changes made to 47f587700d646f5b03a42f2fa57c28875a31efbe. | |||||
2016-12-15 | Merge branch 'seccomp' of https://github.com/aszlig/nix | Eelco Dolstra | 1 | -0/+54 | |
2016-11-27 | Improve error message on trailing path slashes | Guillaume Maudoux | 1 | -0/+6 | |
2016-11-16 | seccomp: Forge return codes for POSIX ACL syscalls | aszlig | 1 | -1/+2 | |
Commands such as "cp -p" also use fsetxattr() in addition to fchown(), so we need to make sure these syscalls always return successful as well in order to avoid nasty "Invalid value" errors. Signed-off-by: aszlig <aszlig@redmoonstudios.org> | |||||
2016-11-16 | release.nix: Add a test for sandboxing | aszlig | 1 | -0/+53 | |
Right now it only tests whether seccomp correctly forges the return value of chown, but the long-term goal is to test the full sandboxing functionality at some point in the future. Signed-off-by: aszlig <aszlig@redmoonstudios.org> | |||||
2016-11-13 | Fix comments parsing | Guillaume Maudoux | 2 | -0/+60 | |
Fixed the parsing of multiline strings ending with an even number of stars, like /** this **/. Added test cases for comments. | |||||
2016-11-10 | build-remote: Implement in C++ | Shea Levy | 1 | -0/+1 | |
2016-10-19 | Handle $TMPDIR ending with a slash | Eelco Dolstra | 2 | -2/+2 | |
This caused the gc test to fail on Darwin. | |||||
2016-09-12 | Fix gc-runtime test | Eelco Dolstra | 1 | -1/+1 | |
It was failing on some platforms. http://hydra.nixos.org/build/39538866 | |||||
2016-09-08 | Fix test failure | Eelco Dolstra | 1 | -3/+3 | |
2016-08-29 | Add builtin function "partition" | Eelco Dolstra | 2 | -0/+6 | |
The implementation of "partition" in Nixpkgs is O(n^2) (because of the use of ++), and for some reason was causing stack overflows in multi-threaded evaluation (not sure why). This reduces "nix-env -qa --drv-path" runtime by 0.197s and memory usage by 298 MiB (in non-Boehm mode). | |||||
2016-08-17 | Add a mechanism for derivation attributes to reference the derivation's outputs | Eelco Dolstra | 3 | -2/+25 | |
For example, you can now say: configureFlags = "--prefix=${placeholder "out"} --includedir=${placeholder "dev"}"; The strings returned by the ‘placeholder’ builtin are replaced at build time by the actual store paths corresponding to the specified outputs. Previously, you had to work around the inability to self-reference by doing stuff like: preConfigure = '' configureFlags+=" --prefix $out --includedir=$dev" ''; or rely on ad-hoc variable interpolation semantics in Autoconf or Make (e.g. --prefix=\$(out)), which doesn't always work. | |||||
2016-08-10 | Remove $NIX_DB_DIR | Eelco Dolstra | 6 | -14/+10 | |
This variable has no reason to exist, given $NIX_STATE_DIR. | |||||
2016-08-10 | Nuke nix-push. | Shea Levy | 5 | -18/+6 | |
Rarely used, nix copy replaces it. | |||||
2016-08-10 | Remove nix-install-package. | Shea Levy | 2 | -21/+1 | |
Refs #831 | |||||
2016-07-21 | Shut up warning | Eelco Dolstra | 1 | -0/+1 | |
2016-06-17 | Fix test | Eelco Dolstra | 1 | -1/+1 | |
http://hydra.nixos.org/build/36631898 | |||||
2016-06-01 | HttpBinaryCacheStore: Fix caching of WantMassQuery | Eelco Dolstra | 1 | -18/+34 | |
Also, test HttpBinaryCacheStore in addition to LocalBinaryCacheStore. | |||||
2016-05-31 | Fix nix-profile test in a chroot | Eelco Dolstra | 2 | -3/+8 | |
http://hydra.nixos.org/build/36462078 | |||||
2016-05-31 | Disable the SSH substituter test for now | Eelco Dolstra | 1 | -5/+6 | |
2016-05-30 | Forgot to commit | Eelco Dolstra | 1 | -0/+7 | |
2016-05-30 | Test trying the next substitute after a bad signature | Eelco Dolstra | 1 | -2/+10 | |
2016-05-30 | Test the NAR info cache | Eelco Dolstra | 5 | -29/+18 | |
2016-05-30 | Re-implement binary cache signature checking | Eelco Dolstra | 1 | -1/+1 | |
This is now done in LocalStore::addToStore(), rather than in the binary cache substituter (which no longer exists). | |||||
2016-05-30 | LocalStore::addToStore: Verify hash of the imported path | Eelco Dolstra | 1 | -1/+1 | |
2016-04-29 | Eliminate the substituter mechanism | Eelco Dolstra | 6 | -135/+1 | |
Substitution is now simply a Store -> Store copy operation, most typically from BinaryCacheStore to LocalStore. |