Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-10-23 | If hashes do not match, print them in base-32 for SHA-1/SHA-256 | Eelco Dolstra | 3 | -1/+10 | |
Fixes #57. | |||||
2012-10-23 | nix-prefetch-url: Improve option handling | Eelco Dolstra | 3 | -10/+42 | |
2012-10-23 | prim_toPath: Actually make the string a path | Shea Levy | 1 | -1/+3 | |
2012-10-18 | nix-push: Add a flag ‘--manifest-path’ to write the manifest to another ↵ | Eelco Dolstra | 1 | -1/+8 | |
directory | |||||
2012-10-17 | nix-push: Add ‘--link’ flag | Eelco Dolstra | 1 | -1/+8 | |
If ‘--link’ is given, nix-push will create hard links to the NAR files in the store, rather than copying them. This is faster and requires less disk space. However, it doesn't work if the store is on a different file system. | |||||
2012-10-17 | nix-push: Only generate and copy a NAR if it doesn't already exist | Eelco Dolstra | 6 | -65/+107 | |
This prevents unnecessary and slow rebuilds of NARs that already exist in the binary cache. | |||||
2012-10-12 | Typo | Eelco Dolstra | 1 | -2/+2 | |
Reported by Shea. | |||||
2012-10-11 | download-from-binary-cache: Remove duplicate entries in trustedURLs | Eelco Dolstra | 1 | -1/+1 | |
2012-10-11 | Shorten the names of temporary build directories | Eelco Dolstra | 1 | -1/+1 | |
2012-10-10 | Out-of-tree building of perl modules. | Mats Erik Andersson | 2 | -1/+2 | |
2012-10-04 | getDerivation(): Don't always quietly ignore assertion failure | Eelco Dolstra | 5 | -21/+27 | |
Ignoring assertion failures makes some sense for nix-env -qa, but not for nix-instantiate/nix-build or hydra-eval-jobs. | |||||
2012-10-04 | XML writer: flush after newlines | Eelco Dolstra | 1 | -4/+4 | |
This is useful for hydra-eval-jobs. | |||||
2012-10-04 | Manual: Don't use a store path that actually exists | Eelco Dolstra | 1 | -4/+4 | |
http://hydra.nixos.org/build/3124130 | |||||
2012-10-04 | nix-store --verify: Continue on errors | Eelco Dolstra | 1 | -2/+4 | |
2012-10-04 | Fix regular expression | Eelco Dolstra | 1 | -1/+1 | |
http://hydra.nixos.org/build/3123177 | |||||
2012-10-03 | Fix the tarball build | Eelco Dolstra | 1 | -1/+1 | |
2012-10-03 | Fix the test | Eelco Dolstra | 1 | -4/+4 | |
2012-10-03 | Rename nix-worker to nix-daemon | Eelco Dolstra | 15 | -41/+49 | |
2012-10-03 | Drop support for running nix-worker in "slave" mode | Eelco Dolstra | 6 | -146/+9 | |
AFAIK nobody uses this, setuid binaries are evil, and there is no good reason why people can't just run the daemon. | |||||
2012-10-03 | Remove bin2c | Eelco Dolstra | 7 | -35/+4 | |
2012-10-03 | When ‘--help’ is given, just run ‘man’ to show the manual page | Eelco Dolstra | 25 | -329/+51 | |
I.e. do what git does. I'm too lazy to keep the builtin help text up to date :-) Also add ‘--help’ to various commands that lacked it (e.g. nix-collect-garbage). | |||||
2012-10-03 | Document ‘--repair’ | Eelco Dolstra | 3 | -6/+32 | |
2012-10-03 | nix-env: Support ‘--repair’ flag | Eelco Dolstra | 3 | -5/+9 | |
2012-10-03 | nix-build: Support ‘--repair’ flag | Eelco Dolstra | 1 | -1/+1 | |
2012-10-03 | Add a ‘--repair’ flag to nix-instantiate | Eelco Dolstra | 11 | -25/+36 | |
This allows repairing corrupted derivations and other source files. | |||||
2012-10-03 | Handle repairing paths that are in build-chroot-dirs | Eelco Dolstra | 1 | -0/+7 | |
2012-10-03 | When repairing a derivation, check and repair the entire output closure | Eelco Dolstra | 3 | -6/+91 | |
If we find a corrupted path in the output closure, we rebuild the derivation that produced that particular path. | |||||
2012-10-02 | Add a --repair flag to ‘nix-store -r’ to repair derivation outputs | Eelco Dolstra | 7 | -64/+116 | |
With this flag, if any valid derivation output is missing or corrupt, it will be recreated by using a substitute if available, or by rebuilding the derivation. The latter may use hash rewriting if chroots are not available. | |||||
2012-10-02 | nix-store -r: Get rid of an unnecessary call to buildPaths/ensurePaths | Eelco Dolstra | 1 | -4/+4 | |
2012-10-02 | nix-store --verify: Add an option ‘--repair’ to repair all ↵ | Eelco Dolstra | 4 | -11/+42 | |
missing/corrupt paths Also, return a non-zero exit code if errors remain after verifying/repairing. | |||||
2012-10-02 | Add operation ‘nix-store --repair-path’ | Eelco Dolstra | 8 | -36/+151 | |
This operation allows fixing corrupted or accidentally deleted store paths by redownloading them using substituters, if available. Since the corrupted path cannot be replaced atomically, there is a very small time window (one system call) during which neither the old (corrupted) nor the new (repaired) contents are available. So repairing should be used with some care on critical packages like Glibc. | |||||
2012-09-28 | Handle octal escapes in /proc/self/mountinfo | Eelco Dolstra | 3 | -2/+24 | |
2012-09-28 | Print a more descriptive error message if setting up the build environment fails | Eelco Dolstra | 1 | -3/+14 | |
2012-09-27 | Allow dashes in identifiers | Eelco Dolstra | 4 | -4/+9 | |
In Nixpkgs, the attribute in all-packages.nix corresponding to a package is usually equal to the package name. However, this doesn't work if the package contains a dash, which is fairly common. The convention is to replace the dash with an underscore (e.g. "dbus-lib" becomes "dbus_glib"), but that's annoying. So now dashes are valid in variable / attribute names, allowing you to write: dbus-glib = callPackage ../development/libraries/dbus-glib { }; and buildInputs = [ dbus-glib ]; Since we don't have a negation or subtraction operation in Nix, this is unambiguous. | |||||
2012-09-25 | Add "on Linux" qualifier | Eelco Dolstra | 1 | -2/+2 | |
2012-09-25 | Make the store writable before creating /nix/store/.links | Eelco Dolstra | 1 | -2/+1 | |
2012-09-25 | Document that Nix requires GNU Make | Eelco Dolstra | 1 | -1/+4 | |
Fixes #44. | |||||
2012-09-25 | Update release notes | Eelco Dolstra | 1 | -0/+29 | |
2012-09-25 | Merge branch 'readonly-store' | Eelco Dolstra | 14 | -135/+106 | |
2012-09-25 | Include <sys/types.h> for off_t | Eelco Dolstra | 1 | -0/+1 | |
Reported by "gio" on IRC. | |||||
2012-09-21 | Style fix | Eelco Dolstra | 2 | -6/+6 | |
2012-09-19 | Support xz compression in the download-using-manifests substituter | Eelco Dolstra | 3 | -8/+21 | |
2012-09-19 | Remove setting of the immutable bit | Eelco Dolstra | 5 | -96/+35 | |
Using the immutable bit is problematic, especially in conjunction with store optimisation. For instance, if the garbage collector deletes a file, it has to clear its immutable bit, but if the file has additional hard links, we can't set the bit afterwards because we don't know the remaining paths. So now that we support having the entire Nix store as a read-only mount, we may as well drop the immutable bit. Unfortunately, we have to keep the code to clear the immutable bit for backwards compatibility. | |||||
2012-09-19 | Support having /nix/store as a read-only bind mount | Eelco Dolstra | 2 | -0/+41 | |
It turns out that the immutable bit doesn't work all that well. A better way is to make the entire Nix store a read-only bind mount, i.e. by doing $ mount --bind /nix/store /nix/store $ mount -o remount,ro,bind /nix/store (This would typically done in an early boot script, before anything from /nix/store is used.) Since Nix needs to be able to write to the Nix store, it now detects if /nix/store is a read-only bind mount and then makes it writable in a private mount namespace. | |||||
2012-09-19 | Templatise tokenizeString() | Eelco Dolstra | 10 | -39/+30 | |
2012-09-18 | Keep build directory if not all expected outputs were produced | Eelco Dolstra | 1 | -3/+3 | |
Fixes issue #123 in Nixpkgs. | |||||
2012-09-14 | Test whether GNU tar understands --warning=no-timestamp | Eelco Dolstra | 1 | -2/+2 | |
http://hydra.nixos.org/build/3031618 | |||||
2012-09-14 | Fix test | Eelco Dolstra | 1 | -1/+1 | |
http://hydra.nixos.org/build/3031382 | |||||
2012-09-13 | nix-collect-garbage: Support --dry-run | Eelco Dolstra | 2 | -3/+7 | |
2012-09-13 | nix-env --delete-generations: Support --dry-run flag | Eelco Dolstra | 2 | -6/+12 | |
Fixes #43. |