lix/scripts
Eelco Dolstra 9488ae7357 * `show-duplication.pl', a small utility that shows the amount of
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-19 13:53:35 +00:00
..
maintenance * Remove debug statement. 2006-02-24 17:10:38 +00:00
copying-collector.pl * I said it couldn't be done. I was wrong. 2005-04-04 15:18:19 +00:00
download-using-manifests.pl.in prevent doing recursive chroots, by unsetting NIX_ROOT in the scripts. 2006-08-05 00:31:04 +00:00
find-runtime-roots.pl.in * Don't try to do DNS lookups. 2006-07-21 12:28:25 +00:00
generate-patches.pl.in * Change referer' to referrer' throughout. In particular, the 2005-12-13 21:04:48 +00:00
Makefile.am * Don't try to do DNS lookups. 2006-07-21 12:28:25 +00:00
nix-build.in * Use old-school pipe opens; the new style is Perl >= 5.8.0. 2006-08-04 11:51:46 +00:00
nix-channel.in * Remove old manifests in `nix-channel --update'. 2006-05-08 20:00:28 +00:00
nix-collect-garbage.in * Convenience option `nix-collect-garbage -d' (--delete-old): removes 2006-09-06 14:23:04 +00:00
nix-install-package.in * nix-install-package: install outPath, not drvPath, for now. 2005-03-11 15:27:37 +00:00
nix-pack-closure.in * Don't force a build of derivations. 2006-01-26 23:18:46 +00:00
nix-prefetch-url.in add coreutils to the default PATH for this scripts, so we know for sure we have tools like rm, mkdir, and so on 2006-08-05 00:33:52 +00:00
nix-profile.sh.in * Write messages to stderr, not stdout. 2006-03-10 09:41:28 +00:00
nix-pull.in * This may be useful in the future. 2006-05-31 09:24:54 +00:00
nix-push.in * file:/ -> file:// 2006-08-09 19:37:23 +00:00
nix-unpack-closure.in * New tools nix-pack-closure and nix-unpack-closure. These provide a 2006-01-12 15:17:51 +00:00
optimise-store.pl * `show-duplication.pl', a small utility that shows the amount of 2006-09-19 13:53:35 +00:00
readconfig.pm.in * This may be useful in the future. 2006-05-31 09:24:54 +00:00
readmanifest.pm.in * Canonicalise manifests a bit by sorting them. 2006-02-24 16:02:36 +00:00
remove-patches.pl * Script to remove patches from manifests. 2005-01-12 10:40:59 +00:00
show-duplication.pl * `show-duplication.pl', a small utility that shows the amount of 2006-09-19 13:53:35 +00:00
update-manifest.pl * A small utility to add the Size and NarHash fields to old manifests. 2004-12-28 21:12:00 +00:00