about summary refs log tree commit diff
path: root/scripts/nix-pull.in
AgeCommit message (Collapse)AuthorFilesLines
2005-04-08 * nix-store: `--substitute' -> `--register-substitutes'.Eelco Dolstra1-1/+1
2005-02-25 * Add a version number to manifests.Eelco Dolstra1-1/+3
2005-02-09 * Propagate the deriver of a path through the substitute mechanism.Eelco Dolstra1-0/+1
* Removed some dead code (successor stuff) from nix-push. * Updated terminology in the tests (store expr -> drv path). * Check that the deriver is set properly in the tests.
2005-02-08 * Set umask to prevent permission problems.Eelco Dolstra1-0/+4
2005-02-08 * Better error reporting in readmanifest.Eelco Dolstra1-1/+1
* Use force flag in `mv' to prevent silly interactive questions (this happens with shared Nix stores).
2005-02-01 * Make check fixes.Eelco Dolstra1-3/+3
2005-01-25 * Really fix the substitute mechanism, i.e., ensure the closureEelco Dolstra1-17/+19
invariant by registering references through the manifest. * Added a test for nix-pull.
2004-12-20 * Place manifests in /nix/var/nix/manifests.Eelco Dolstra1-18/+18
* Use the new patch downloader.
2004-12-20 * Sync with changed substitute mechanism.Eelco Dolstra1-5/+4
* Accept the NarHash line. * Clear substitutes in `nix-channel --update'.
2004-12-16 * Fix nix-pull.Eelco Dolstra1-11/+14
2004-12-16 * Remove `prebuilts.conf' file, it's not like anybody was using it.Eelco Dolstra1-16/+3
* Add /nix/var/nix/manifests directory.
2004-12-13 * Patch deployment. `download.pl' (intended to be used in theEelco Dolstra1-4/+14
substitute mechanism) creates a store path by downloading full NAR archives and/or patches specified in the available manifests. Any combination of present paths, full downloads, and patches can be used to construct the target path. In particular, patches can be chained in sequence; and full NAR archives of the target path can be omitted (i.e., patch-only deployment is possible). A shortest path algorithm is used to find the smallest set of files to be downloaded (the edge weights are currently file sizes, but one can imagine taking the network speed to the various source into account). Patches are binary deltas between two store paths. To be precise, they are the output of the `bsdiff' program applied to the NAR archives obtained by dumping (`nix-store --dump') the two store paths. The advantage of diff'ing NAR archives (and not, say, doing file-by-file diffs) is that file renames/moves are handled automatically. The disadvantage is that we cannot optimise creation of unchanged files (by hard-linking).
2004-06-21 * Adapted nix-pull to use the new substitute mechanism.Eelco Dolstra1-49/+33
2004-04-06 * Switched from wget to curl.Eelco Dolstra1-3/+3
* Made the dependencies on bzip2 and the shell explicit.
2004-03-15 * Make perl a dependency of Nix.Eelco Dolstra1-1/+1
2004-01-14 * Synchronous `nix-pull' with `nix-push'.Eelco Dolstra1-1/+1
* Use curl instead of wget.
2003-12-21 * Missing semicolons.Eelco Dolstra1-3/+3
2003-12-05 * Refactoring: put the manifest-reading code in a separate file.Eelco Dolstra1-87/+35
2003-12-04 * Fix for too long command lines when calling `nix-storeMartin Bravenboer1-4/+16
--register-[substitutes|successors].
2003-12-01 * Help text for all (non-script) programs, so no more:Eelco Dolstra1-1/+1
$ nix-instantiate --help error: unknown flag `--help` Try `nix-instantiate --help' for more information. :-)
2003-12-01 * Use a system name that does not include the OS manufacturer (i.e.,Eelco Dolstra1-2/+2
"i686-linux" instead of "i686-suse-linux").
2003-11-24 * One-click installation :-)Eelco Dolstra1-70/+82
The script nix-install-package takes a `Nix package file' (which contains one or more derivations, along with URLs of Nix caches), unpacks it, pulls the caches, and installs the derivations in the user's environment. For best results, associate the command `xterm -e /nix/bin/nix-install-package' with the MIME type `application/x-nix-package' and visit http://losser.st-lab.cs.uu.nl/~eelco/test/.
2003-11-24 * Fix nix-pull.Eelco Dolstra1-21/+15
2003-11-24 * Get rid of tab characters.Eelco Dolstra1-62/+62
2003-10-27 * Don't cache the manifest.Eelco Dolstra1-1/+1
2003-10-16 * Remove some debug output.Eelco Dolstra1-4/+1
2003-10-16 * Substitutes and nix-pull now work again.Eelco Dolstra1-60/+91
* Fixed a segfault caused by the buffering of stderr. * Fix now allows the specification of the full output path. This should be used with great care, since it by-passes the normal hash generation. * Incremented the version number to 0.4 (prerelease).
2003-08-15 * A script `nix-prefetch-url' to fetch a URL, place it in the NixEelco Dolstra1-3/+4
store, and print its hash.
2003-08-15 * Don't use a temporary file.Eelco Dolstra1-9/+14
2003-08-05 * Made nix-pull much faster by performing all Fix instantiations atEelco Dolstra1-14/+32
the same time.
2003-07-29 * Bug: Fix does not allow empty names, so don't generate them.Eelco Dolstra1-10/+10
2003-07-22 * Substitutes now should produce a path with the same id as they areEelco Dolstra1-4/+13
substituting for (obvious, really). * For greater efficiency, nix-pull/unnar will place the output in a path that is probably the same as what is actually needed, thus preventing a path copy. * Even if a output id is given in a Fix package expression, ensure that the resulting Nix derive expression has a different id. This is because Nix expressions that are semantically equivalent (i.e., build the same result) might be different w.r.t. efficiency or divergence. It is absolutely vital for the substitute mechanism that such expressions are not used interchangeably.
2003-07-21 * Changed nix-pull to match nix-push.Eelco Dolstra1-14/+15
2003-07-16 * Substitute fixes.Eelco Dolstra1-1/+1
2003-07-13 * Generate the scripts so that we can substitute the prefixEelco Dolstra1-0/+81
etc. correctly. * Fixed nix-switch.