Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-05-10 | build-remote.pl: Properly close the SSH connection between attempts | Eelco Dolstra | 1 | -0/+1 | |
2013-05-03 | Fixing the pv position regarding compression | Lluís Batlle i Rossell | 1 | -1/+1 | |
Problem noticed by niksnut. | |||||
2013-05-03 | Adding ETA support to the --show-progress in nix-copy-closure | Lluís Batlle i Rossell | 1 | -4/+8 | |
Based on https://github.com/NixOS/nix/pull/6 from shlevy | |||||
2013-03-08 | Revert "Prevent config.h from being clobbered" | Eelco Dolstra | 1 | -9/+12 | |
This reverts commit 28bba8c44f484eae38e8a15dcec73cfa999156f6. | |||||
2013-03-08 | Fix annoying Perl 5.16 warnings | Eelco Dolstra | 1 | -17/+17 | |
I.e. Subroutine Nix::Store::isValidPath redefined at /nix/store/clfzsf6gi7qh5i9c0vks1ifjam47rijn-perl-5.16.2/lib/perl5/5.16.2/XSLoader.pm line 92. and so on. | |||||
2013-03-07 | Prevent config.h from being clobbered | Eelco Dolstra | 1 | -12/+9 | |
2013-02-05 | Nix::Store::derivationFromPath: Return derivation outputs | Eelco Dolstra | 1 | -9/+12 | |
2012-12-20 | Give a better error message if writeFile fails due to permission issues | Eelco Dolstra | 1 | -2/+2 | |
2012-11-23 | nix-copy-closure: Add flag ‘--use-substitutes’ | Eelco Dolstra | 1 | -1/+8 | |
2012-10-17 | nix-push: Only generate and copy a NAR if it doesn't already exist | Eelco Dolstra | 2 | -1/+58 | |
This prevents unnecessary and slow rebuilds of NARs that already exist in the binary cache. | |||||
2012-10-10 | Out-of-tree building of perl modules. | Mats Erik Andersson | 1 | -0/+1 | |
2012-09-19 | Support xz compression in the download-using-manifests substituter | Eelco Dolstra | 1 | -6/+12 | |
2012-09-13 | Delete manifests in "nix-channel --remove" or when a binary cache is available | Eelco Dolstra | 1 | -21/+39 | |
2012-08-27 | Drop dependency on List::MoreUtils | Eelco Dolstra | 1 | -0/+11 | |
2012-08-27 | Add missing file | Eelco Dolstra | 1 | -0/+8 | |
2012-07-30 | Refactor settings processing | Eelco Dolstra | 1 | -1/+1 | |
Put all Nix configuration flags in a Settings object. | |||||
2012-07-30 | Do some validation of URLs | Eelco Dolstra | 1 | -1/+1 | |
2012-07-30 | Pass configuration settings to the substituters | Eelco Dolstra | 1 | -1/+9 | |
Previously substituters could read nix.conf themselves, but this didn't take --option flags into account. | |||||
2012-07-18 | Merge branch 'master' into no-manifests | Eelco Dolstra | 2 | -0/+12 | |
2012-07-17 | Add function queryPathFromHashPart() | Eelco Dolstra | 2 | -0/+12 | |
To implement binary caches efficiently, Hydra needs to be able to map the hash part of a store path (e.g. "gbg...zr7") to the full store path (e.g. "/nix/store/gbg...kzr7-subversion-1.7.5"). (The binary cache mechanism uses hash parts as a key for looking up store paths to ensure privacy.) However, doing a search in the Nix store for /nix/store/<hash>* is expensive since it requires reading the entire directory. queryPathFromHashPart() prevents this by doing a cheap database lookup. | |||||
2012-07-17 | queryPathInfo(): return hash in base-32 if desired | Eelco Dolstra | 1 | -2/+2 | |
Cherry-picked from the no-manifests branch. | |||||
2012-07-11 | Set the User-Agent header to "Nix/<version>" | Eelco Dolstra | 1 | -0/+2 | |
2012-07-09 | download-from-binary-cache: add nix.conf options | Eelco Dolstra | 1 | -3/+3 | |
2012-07-02 | nix-push: Always generate base-32 hashes | Eelco Dolstra | 1 | -2/+2 | |
2012-06-29 | First attempt at the manifest-less substituter | Eelco Dolstra | 1 | -0/+1 | |
2012-06-29 | Use XZ compression in binary caches | Eelco Dolstra | 1 | -1/+2 | |
XZ compresses significantly better than bzip2. Here are the compression ratios and execution times (using 4 cores in parallel) on my /var/run/current-system (3.1 GiB): bzip2: total compressed size 849.56 MiB, 30.8% [2m08] xz -6: total compressed size 641.84 MiB, 23.4% [6m53] xz -7: total compressed size 621.82 MiB, 22.6% [7m19] xz -8: total compressed size 599.33 MiB, 21.8% [7m18] xz -9: total compressed size 588.18 MiB, 21.4% [7m40] Note that compression takes much longer. More importantly, however, decompression is much faster: bzip2: 1m47.274s xz -6: 0m55.446s xz -7: 0m54.119s xz -8: 0m52.388s xz -9: 0m51.842s The only downside to using -9 is that decompression takes a fair amount (~65 MB) of memory. | |||||
2012-05-10 | Support building with the Perl XS bindings disabled | Eelco Dolstra | 3 | -3/+75 | |
Since the Perl bindings require shared libraries, this is required on platforms such as Cygwin where we do a static build. | |||||
2012-05-10 | Remove an obsolete hack | Eelco Dolstra | 1 | -3/+0 | |
2012-05-04 | Fix some 32-bit builds | Eelco Dolstra | 1 | -1/+2 | |
Perl on some 32-bit systems needs -D_FILE_OFFSET_BITS=64. See also commit 02f1363e19b7df7cccc3523805bbf4fafe429529. | |||||
2012-05-04 | Drop the Perl-specific CFLAGS | Eelco Dolstra | 1 | -2/+1 | |
This fixes the Darwin build (http://hydra.nixos.org/build/2517380). Hopefully it doesn't break other builds. | |||||
2012-04-13 | nix-copy-closure: Move the progressViewer directly adjacent to the ssh call ↵ | Shea Levy | 1 | -1/+1 | |
so that network progress is what's measured | |||||
2012-04-13 | Add the '--show-progress' flag to nix-copy-closure | Shea Levy | 1 | -3/+4 | |
2012-04-10 | Unconfuse Rob | Eelco Dolstra | 1 | -2/+2 | |
2012-03-19 | Add a command "nix-build --run-env" to reproduce the environment of a derivation | Eelco Dolstra | 2 | -0/+43 | |
This command builds or fetches all dependencies of the given derivation, then starts a shell with the environment variables from the derivation. This shell also sources $stdenv/setup to initialise the environment further. The current directory is not changed. Thus this is a convenient way to reproduce a build environment in an existing working tree. Existing environment variables are left untouched (unless the derivation overrides them). As a special hack, the original value of $PATH is appended to the $PATH produced by $stdenv/setup. Example session: $ nix-build --run-env '<nixpkgs>' -A xterm (the dependencies of xterm are built/fetched...) $ tar xf $src $ ./configure $ make $ emacs (... hack source ...) $ make $ ./xterm | |||||
2012-03-05 | nix-copy-closure: don't print copied path on stdout | Eelco Dolstra | 1 | -1/+1 | |
We're already printing progress on stderr, so printing them on stdout afterwards is kind of useless. | |||||
2012-03-05 | Restore progress indication during nix-copy-closure | Eelco Dolstra | 1 | -1/+0 | |
2012-01-18 | * Don't distribute Store.cc, it's generated automatically by xsubpp. | Eelco Dolstra | 1 | -1/+3 | |
2012-01-18 | * Pass the appropriate flags to GCC when building the Perl bindings. | Eelco Dolstra | 1 | -1/+2 | |
Without these, Nix fails on 32-bit Linux with Perl 5.14, with a rather unhelpful error message: Not a CODE reference at /nix/store/n6kpbacn6nn7i3i735v8j3di8aqyl07v-perl-5.14.2/lib/perl5/5.14.2/i686-linux-thread-multi/DynaLoader.pm This is likely because the lack of -D_FILE_OFFSET_BITS=64 causes various Perl structures to not match what the Perl interpreter expects. | |||||
2012-01-12 | * ‘-module’ causes the generated library to have an .so extension on | Eelco Dolstra | 1 | -1/+0 | |
Mac OS X instead of .dylib, so don't do that. | |||||
2012-01-11 | perl: Build libNixStore.la with `-module'. | Ludovic Courtès | 1 | -1/+2 | |
2012-01-11 | * Figure out the extension of dynamic libraries; don't hard-code .so. | Eelco Dolstra | 1 | -2/+2 | |
2012-01-05 | * Add a -I flag to the Perl bindings to nix-build and some other | Eelco Dolstra | 1 | -5/+1 | |
scripts. * Include the version and architecture in the -I flag so that there is at least a chance that a Nix binary built for one Perl version will run on another version. | |||||
2012-01-03 | * Sync with the trunk. | Eelco Dolstra | 1 | -0/+1 | |
2012-01-03 | * Ignore missing manifest symlinks. | Eelco Dolstra | 1 | -0/+1 | |
2012-01-03 | * Add a test for nix-channel. | Eelco Dolstra | 1 | -0/+1 | |
* Refactor the nix-channel unpacker a bit. | |||||
2011-12-02 | * Add some more functions to the Perl bindings. | Eelco Dolstra | 2 | -1/+48 | |
2011-11-29 | * Don't require a specific Perl version. | Eelco Dolstra | 1 | -1/+0 | |
2011-11-29 | * Fix make check. | Eelco Dolstra | 1 | -1/+3 | |
2011-11-29 | * download-using-manifests: use the Perl bindings. | Eelco Dolstra | 2 | -1/+16 | |
2011-11-29 | * For consistency with "nix-store -q --hash", produce hashes in | Eelco Dolstra | 1 | -1/+1 | |
base-32. (This affects Hydra manifests.) |