Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-03-21 | Make /dev/kvm optional | Ludovic Courtès | 1 | -1/+4 | |
The daemon now creates /dev deterministically (thanks!). However, it expects /dev/kvm to be present. The patch below restricts that requirement (1) to Linux-based systems, and (2) to systems where /dev/kvm already exists. I’m not sure about the way to handle (2). We could special-case /dev/kvm and create it (instead of bind-mounting it) in the chroot, so it’s always available; however, it wouldn’t help much since most likely, if /dev/kvm missing, then KVM support is missing. | |||||
2014-03-18 | Fix tabs | Eelco Dolstra | 1 | -6/+6 | |
2014-03-18 | Allow recovery from isValidPath RPCs with an invalid path | Ludovic Courtès | 1 | -1/+7 | |
Currently, clients cannot recover from an isValidPath RPC with an invalid path parameter because the daemon closes the connection when that happens. More precisely: 1. in performOp, wopIsValidPath case, ‘readStorePath’ raises an ‘Error’ exception; 2. that exception is caught by the handler in ‘processConnection’; 3. the handler determines errorAllowed == false, and thus exits after sending the message. This last part is fixed by calling ‘startWork’ early on, as in the patch below. The same reasoning could be applied to all the RPCs that take one or more store paths as inputs, but isValidPath is, by definition, likely to be passed invalid paths in the first place, so it’s important for this one to allow recovery. | |||||
2014-03-17 | Fix -j and other flags when using the daemon | Eelco Dolstra | 1 | -6/+6 | |
2014-03-17 | nix-build: Fix --cores flag | Eelco Dolstra | 1 | -1/+1 | |
2014-03-12 | Remove unnecessary null pointer checks | Eelco Dolstra | 1 | -2/+2 | |
Fixes #225. | |||||
2014-03-12 | Document nix-env -q --json | Eelco Dolstra | 1 | -0/+8 | |
2014-03-12 | Generate release notes again | Eelco Dolstra | 5 | -11/+34 | |
2014-03-12 | Update release notes for 1.7 | Eelco Dolstra | 1 | -45/+247 | |
2014-03-11 | Fix passing meta attribute to buildenv.nix | Eelco Dolstra | 1 | -0/+1 | |
Since the meta attributes were not sorted, attribute lookup could fail, leading to package priorities and active flags not working correctly. Broken since 0f24400d90daf65cf20142a662f8245008437e2c. | |||||
2014-03-11 | Fix typos | Eelco Dolstra | 2 | -3/+3 | |
2014-03-11 | Document null dynamic attrs | Shea Levy | 2 | -1/+15 | |
2014-03-10 | The expr of AttrNames/DynamicAttrDefs is always an ExprConcatStrings | Shea Levy | 3 | -12/+10 | |
2014-03-10 | If a dynamic attribute name evaluates to null, remove it from the set | Shea Levy | 3 | -1/+11 | |
2014-03-05 | Revert "Make ifs and asserts tail-recursive" | Eelco Dolstra | 2 | -11/+4 | |
This reverts commit 273322c7732093a354e86df82cf75d6604b8bce8. | |||||
2014-03-05 | Install missing Boost headers | Eelco Dolstra | 1 | -0/+2 | |
http://hydra.nixos.org/build/9328376 | |||||
2014-02-28 | Typo | Eelco Dolstra | 1 | -1/+1 | |
2014-02-27 | Set up a private /dev/pts in the chroot | Eelco Dolstra | 2 | -2/+14 | |
2014-02-27 | Set up a minimal /dev in chroots | Eelco Dolstra | 8 | -17/+40 | |
Not bind-mounting the /dev from the host also solves the problem with /dev/shm being a symlink to something not in the chroot. | |||||
2014-02-27 | Correctly detect infinite recursion in function application | Eelco Dolstra | 1 | -2/+4 | |
If we're evaluating some application ‘v = f x’, we can't store ‘f’ temporarily in ‘v’, because if ‘f x’ refers to ‘v’, it will get ‘f’ rather than an infinite recursion error. Unfortunately, this breaks the tail call optimisation introduced in c897bac54954373f63511702731fe2cb23c0c98e. Fixes #217. | |||||
2014-02-27 | Fix deadlock in SubstitutionGoal | Eelco Dolstra | 1 | -0/+1 | |
We were relying on SubstitutionGoal's destructor releasing the lock, but if a goal is a top-level goal, the destructor won't run in a timely manner since its reference count won't drop to zero. So release it explicitly. Fixes #178. | |||||
2014-02-26 | Doh | Eelco Dolstra | 1 | -1/+1 | |
2014-02-26 | Test trace and addErrorContext | Eelco Dolstra | 1 | -0/+4 | |
2014-02-26 | Test some more primops | Eelco Dolstra | 9 | -7/+24 | |
2014-02-26 | Test executables in NARs | Eelco Dolstra | 2 | -0/+6 | |
2014-02-26 | And another one | Eelco Dolstra | 2 | -41/+2 | |
2014-02-26 | Remove another unused function | Eelco Dolstra | 2 | -22/+0 | |
2014-02-26 | Remove unused function | Eelco Dolstra | 2 | -32/+0 | |
2014-02-26 | Test nix-env --switch-generation | Eelco Dolstra | 1 | -0/+6 | |
2014-02-26 | Test nix-env --set | Eelco Dolstra | 1 | -0/+6 | |
2014-02-26 | Test the -b and -s flags of nix-store -q | Eelco Dolstra | 1 | -0/+12 | |
2014-02-26 | Test ~/.nix-defexpr | Eelco Dolstra | 1 | -14/+17 | |
2014-02-26 | Test nix-store --switch-profile and more daemon actions | Eelco Dolstra | 2 | -51/+70 | |
2014-02-26 | Test nix-store -q --roots | Eelco Dolstra | 1 | -0/+2 | |
2014-02-26 | Test nix-store -l | Eelco Dolstra | 1 | -1/+11 | |
2014-02-26 | Test nix-store --optimise | Eelco Dolstra | 1 | -0/+17 | |
2014-02-26 | Add a test for nix-store --dump-db / --load-db | Eelco Dolstra | 2 | -1/+21 | |
2014-02-26 | Installer: Handle Darwin | Eelco Dolstra | 1 | -1/+1 | |
"cp -r" doesn't copy symlinks properly on Darwin, but "cp -R" does. Fixes #215. | |||||
2014-02-26 | nix-store -r: Respect --add-root for non-derivations | Eelco Dolstra | 1 | -1/+9 | |
Fixes #68. Fixes #117. | |||||
2014-02-26 | Also provide an option for setting the curl connection timeout | Eelco Dolstra | 2 | -1/+18 | |
2014-02-26 | Respect $NIX_CONNECT_TIMEOUT properly | Eelco Dolstra | 1 | -2/+4 | |
We were 1) using CURLOPT_TIMEOUT instead of CURLOPT_CONNECTTIMEOUT; 2) not passing it to the curl child process. Issue #93. | |||||
2014-02-26 | Add ~/.nix-profile/sbin to $PATH | Eelco Dolstra | 1 | -1/+1 | |
Fixes #112. | |||||
2014-02-26 | Warn about missing -I paths | Eelco Dolstra | 3 | -5/+6 | |
Fixes #121. Note that we don't warn about missing $NIX_PATH entries because it's intended that some may be missing (cf. the default $NIX_PATH on NixOS, which includes paths like /etc/nixos/nixpkgs for backward compatibility). | |||||
2014-02-26 | Document dynamic attributes | Shea Levy | 2 | -4/+23 | |
Signed-off-by: Shea Levy <shea@shealevy.com> | |||||
2014-02-26 | Simplify getting use-ssh-substituter from untrusted users | Eelco Dolstra | 2 | -14/+3 | |
2014-02-26 | Fix broken patch | Eelco Dolstra | 2 | -2/+2 | |
2014-02-26 | use USER environmental variable if getting user id by getpwuid is failed in ↵ | Ian-Woo Kim | 2 | -2/+2 | |
perl scripts: download-from-binary-cache.pl and nix-channel | |||||
2014-02-26 | Only start download-via-ssh if it's enabled | Eelco Dolstra | 1 | -12/+14 | |
2014-02-26 | Add use-ssh-substituter setting. | Shea Levy | 3 | -0/+17 | |
It defaults to false and can be overridden by RemoteStore. Untested currently, just quickly put this together | |||||
2014-02-19 | nix-shell: Add --packages flag | Eelco Dolstra | 2 | -3/+41 | |
This allows you to easily set up a build environment containing the specified packages from Nixpkgs. For example: $ nix-shell -p sqlite xorg.libX11 hello will start a shell in which the given packages are present. |