lix/src/nix
Eelco Dolstra 0356f14459 Add 'nix diff-closures' command
This command makes it easier to see what changed between two closures,
i.e. what packages/versions got added or removed, and whether there
were any notable changes in path size.

For example:

  $ nix diff-closures /nix/var/nix/profiles/system-655-link /nix/var/nix/profiles/system-658-link
  blender-bin: 2.83.0 → 2.83.2, -294.2 KiB
  curl: 7.68.0 → 7.70.0, +19.1 KiB
  firmware-linux-nonfree: 2020-01-22 → 2020-05-19, +30827.7 KiB
  ibus: -21.8 KiB
  initrd-linux: 5.4.46 → 5.4.51, +16.9 KiB
  libexif: 0.6.21 → 0.6.22, +497.6 KiB
  linux: 5.4.46 → 5.4.51, +13.2 KiB
  mesa: 19.3.3 → 19.3.5, -183.9 KiB
  nix: 2.4pre20200701_6ff9aa8 → 2.4pre20200708_9223603, +9.7 KiB
  nix-bash-completions: 0.6.8 → ∅, -57.6 KiB
  nixos-system-hagbard: 20.03.20200615.a84b797 → 20.03.20200713.add5529
  nvidia-persistenced: 440.82 → 440.100
  nvidia-settings: 440.82 → 440.100
  nvidia-x11: 440.82-5.4.46 → 440.100-5.4.51, +664.7 KiB
  pcre: 8.43 → 8.44
  php: 7.3.16 → 7.3.20, -26.2 KiB
  python3.7-youtube-dl: 2020.06.06 → 2020.06.16.1, +8.4 KiB
  samba: 4.11.5 → 4.11.9, +30.1 KiB
  sane-backends: 1.0.28 → 1.0.30, +680.5 KiB
  source: -182.0 KiB
  zfs-kernel: 0.8.3-5.4.46 → 0.8.4-5.4.51, +9.9 KiB
  zfs-user: 0.8.3 → 0.8.4, +20.1 KiB
2020-07-15 16:24:25 +02:00
..
add-to-store.cc More designated initializers 2020-06-19 17:42:56 +00:00
build.cc Flag: Use designated initializers 2020-05-04 22:40:19 +02:00
cat.cc Merge branch 'master' into errors-phase-2 2020-05-11 14:35:30 -06:00
command.cc appended ' __attribute__((weak)); ' to 'extern char * * environ ' 2020-06-17 03:25:34 +01:00
command.hh Don’t use FileIngestionMethod for StorePathsCommand 2020-05-27 13:21:11 -05:00
copy.cc Remove StorePath::clone() and related functions 2020-06-16 22:20:18 +02:00
develop.cc nix develop: Fix bad regex 2020-07-03 14:58:58 +02:00
diff-closures.cc Add 'nix diff-closures' command 2020-07-15 16:24:25 +02:00
doctor.cc nix doctor: Consistency 2020-05-05 15:27:47 +02:00
dump-path.cc nix --help: Group commands 2020-05-05 15:18:23 +02:00
edit.cc nix --help: Group commands 2020-05-05 15:18:23 +02:00
eval.cc nix --help: Group commands 2020-05-05 15:18:23 +02:00
get-env.sh nix dev-shell: Support structured attrs 2020-04-30 14:47:47 +02:00
hash.cc Merge branch 'validPathInfo-temp' into validPathInfo-ca-proper-datatype 2020-06-18 23:01:58 +00:00
installables.cc toStorePath(): Return a StorePath and the suffix 2020-07-13 16:25:48 +02:00
installables.hh Backport 'nix dev-shell' from the flakes branch 2020-03-30 19:16:45 +02:00
legacy.cc Start of new Nix command-line interface 2016-02-09 21:28:29 +01:00
legacy.hh Fix Darwin build 2016-03-15 12:11:27 +01:00
local.mk StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00
log.cc nix --help: Group commands 2020-05-05 15:18:23 +02:00
ls.cc Merge branch 'master' into errors-phase-2 2020-05-11 14:35:30 -06:00
main.cc Make the logger customisable 2020-06-08 09:31:15 +02:00
make-content-addressable.cc More designated initializers 2020-06-19 17:42:56 +00:00
optimise-store.cc nix --help: Group commands 2020-05-05 15:18:23 +02:00
path-info.cc Merge branch 'validPathInfo-temp' into validPathInfo-ca-proper-datatype 2020-06-18 23:01:58 +00:00
ping-store.cc nix --help: Group commands 2020-05-05 15:18:23 +02:00
repl.cc repl indenting 2020-06-24 13:14:49 -06:00
run.cc Remove StorePath::clone() and related functions 2020-06-16 22:20:18 +02:00
search.cc convenience form of addTrace 2020-06-24 13:46:25 -06:00
show-config.cc nix --help: Group commands 2020-05-05 15:18:23 +02:00
show-derivation.cc Remove some Base:: that crept in 2020-06-19 00:24:47 +00:00
sigs.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
upgrade-nix.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
verify.cc nix verify: Show correct path when using --all on a binary cache 2020-07-13 20:12:44 +02:00
why-depends.cc Remove StorePath::clone() and related functions 2020-06-16 22:20:18 +02:00