aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2006-10-31* Oops, `nix-build --no-out-link' was broken.Eelco Dolstra
2006-10-28* Don't use EPSV.Eelco Dolstra
2006-10-19* nix-build: check the exit status of `nix-store -r'.Eelco Dolstra
2006-10-12* Reduce the maximum archive size for patch generation to 100 MB toEelco Dolstra
prevent trashing on nix.cs.uu.nl.
2006-10-04* tmpnam() -> File::Temp::tempdir().Eelco Dolstra
2006-09-25* Quick hack to let nix-install-package set the package name properlyEelco Dolstra
(e.g., "java-front-0.9pre15899" instead of "java-front"; particularly important when doing upgrades later on).
2006-09-25* In `nix-channel --update', skip manifests that assume a Nix store atEelco Dolstra
a different location than the user's. This makes channels usable as a source deployment mechanism for people who install Nix under non-standard prefixes. (NIX-57)
2006-09-25* Clean up calls to system().Eelco Dolstra
2006-09-25* Use builtins.toPath.Eelco Dolstra
2006-09-21* `nix-install-package --url': install from a URL (NIX-12).Eelco Dolstra
* `nix-install-package --help' (NIX-9). * `nix-install-package --non-interactive': don't prompt or pause. * Tests for nix-install-package. * Security fixes: filter the values obtained from the nixpkg.
2006-09-21* Try konsole and gnome-terminal in addition to xterm.Eelco Dolstra
2006-09-20* Absolute path to rm (NIX-51).Eelco Dolstra
* Don't hardcore /nix/bin and /nix/store.
2006-09-20* Hide warnings about a missing "lsof" (NIX-54).Eelco Dolstra
2006-09-20* Use paths, not strings, when calling the function that generatesEelco Dolstra
NARs. Fixes the impurity of nix-push (NIX-21). * Better help.
2006-09-19* Doh.Eelco Dolstra
2006-09-19* Doh! Of course we have to take execute permission into account.Eelco Dolstra
* Restore the mtime on modified directories.
2006-09-19* `optimise-store.pl' reduces disk space consumption by hard-linkingEelco Dolstra
all identitical files in the Nix store to each other. (Previously it only computed the size that would be saved by doing so.)
2006-09-19* Cleanups.Eelco Dolstra
2006-09-19* `show-duplication.pl', a small utility that shows the amount ofEelco Dolstra
package duplication present in (e.g.) a profile. It shows the number of instances of each package in a closure, along with the size in bytes of each instance as well as the "waste" (the difference between the sum of the sizes of all instances and the average size). $ ./show-duplication.pl /nix/var/nix/profiles/default gcc 11 3.3.6 19293318 3.4.4 21425257 ... average 14942970, waste 149429707 coreutils 6 ... average package duplication 1.87628865979381, total size 3486330471, total waste 1335324237, 38.3017114443825% wasted This utility is useful for measuring the cost in terms of disk space of the Nix approach.
2006-09-06* Convenience option `nix-collect-garbage -d' (--delete-old): removesEelco Dolstra
old generations of *all* profiles in /nix/var/nix/profiles, then runs the garbage collector. Quick way to get rid of all old stuff. Of course, one cannot roll back to earlier points in time after this.
2006-08-09* file:/ -> file://Eelco Dolstra
2006-08-08rework the --target flag. If this flag is used, a URI should be given. DefaultArmijn Hemel
values are not changed.
2006-08-07* In nar.nix, path -> storePath, otherwise we get a collision betweenEelco Dolstra
environment variable names on Cygwin (where they are case insensitive).
2006-08-05add coreutils to the default PATH for this scripts, so we know for sure we ↵Armijn Hemel
have tools like rm, mkdir, and so on
2006-08-05prevent doing recursive chroots, by unsetting NIX_ROOT in the scripts.Armijn Hemel
2006-08-04* Use old-school pipe opens; the new style is Perl >= 5.8.0.Eelco Dolstra
2006-08-04* Remove the dependency on `date', use strftime instead.Eelco Dolstra
2006-08-03urgh...for some weird reason this one-liner was not in svn. PEBKAC!Armijn Hemel
2006-08-01* Better error checking.Eelco Dolstra
2006-08-01add a flag --target, so we can override the URL in the MANIFEST file. ThisArmijn Hemel
is only for local copies (so file:///)
2006-07-28* `nix-instantiate ... --arg NAME VALUE': allow arguments to be passedEelco Dolstra
to functions from the command line. * nix-build: started removing backticks.
2006-07-21* Don't try to do DNS lookups.Eelco Dolstra
2006-07-19* Added a tool to find additional roots for the garbage collector,Eelco Dolstra
such as open files, current directories, mmaped files, etc. This is inherently unportable, but it's easy to adapt this script to other platforms. Currently we call `lsof' and try to read various bits in /proc/NNN. The goal is to prevent the garbage collector from removing store paths that are no longer reachable from a permanent root but that are still in use (for instance, after the user has done "nix-env -e" on a running program).
2006-05-31* This may be useful in the future.Eelco Dolstra
2006-05-08* Remove old manifests in `nix-channel --update'.Eelco Dolstra
2006-03-14* Allow the resulting symlink of nix-build to be named, e.g.,Eelco Dolstra
$ nix-build .../i686-linux.nix -A apacheHttpd -o apache
2006-03-10* Write messages to stderr, not stdout.Eelco Dolstra
2006-03-03* More online help.Eelco Dolstra
2006-03-03* Rewrote nix-build in Perl, since sh is just too limited (turns outEelco Dolstra
that arrays are a bash extension, so it didn't work on FreeBSD). Also fixes NIX-8 (readlink(1) dependency).
2006-02-24* Remove debug statement.Eelco Dolstra
2006-02-24* A script to remove from a manifest those patches whose base orEelco Dolstra
target no longer applies to any available release. This is a partial fix for NIX-34 (when producing linear patch sequences between releases, the number of patches grows without bound).
2006-02-24* Canonicalise manifests a bit by sorting them.Eelco Dolstra
2006-02-22* Separate the cache reading code.Eelco Dolstra
2006-02-22* Directory for nix.cs.uu.nl manifest / cache maintenance scripts.Eelco Dolstra
2006-02-22* Use right directories for NAR files and patches.Eelco Dolstra
* Print errors to STDERR.
2006-02-10* Enable the --attr in nix-build as well (and add -A as an alias).Eelco Dolstra
Example: $ nix-build ./all-packages.nix -A xlibs.libX11 So finally it's easy to perform a test build of a Nix expression!
2006-02-01* Add @bindir@.Eelco Dolstra
2006-01-26* Don't force a build of derivations.Eelco Dolstra
2006-01-12* New tools nix-pack-closure and nix-unpack-closure. These provide aEelco Dolstra
useful way to transfer the closure of a store path to another machine. These commands provide functionality previously possible through `nix-push --copy'. However, they are much more convenient in many situations (though possibly less efficient). Example: $ nix-pack-closure /nix/store/hj232g1r...-subversion-1.3.0 > svn.closure (on another machine:) $ nix-unpack-closure < svn.closure Note that Subversion is added to the store, but not installed into a user environment. One should do `nix-env -i /nix/store/hj232g1r...-subversion-1.3.0' for that. Another example: copy the application Azureus to the machine `scratchy' through ssh: $ nix-pack-closure $(which azureus) | ssh scratchy nix-unpack-closure
2005-12-13* Change `referer' to `referrer' throughout. In particular, theEelco Dolstra
nix-store query options `--referer' and `--referer-closure' have been changed to `--referrer' and `--referrer-closure' (but the old ones are still accepted for compatibility).