Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-04 | Make JSON equality tests agnostic to ordering | John Ericson | |
It is in fact more sorted than before, but I don't think we want to guarantee anything about the ordering. | |||
2018-02-13 | Fix #1762 | Linus Heckemann | |
nix-store --export, nix-store --dump, and nix dump-path would previously fail silently if writing the data out failed, because a) FdSink::write ignored exceptions, and b) the commands relied on FdSink's destructor, which ignores exceptions, to flush the data out. This could cause rather opaque issues with installing nixos, because nix-store --export would happily proceed even if it couldn't write its data out (e.g. if nix-store --import on the other side of the pipe failed). This commit adds tests that expose these issues in the nix-store commands, and fixes them for all three. | |||
2017-12-07 | nix ls-{nar,store}: Return offset of files in the NAR if known | Eelco Dolstra | |
E.g. $ nix ls-store --json --recursive --store https://cache.nixos.org /nix/store/b0w2hafndl09h64fhb86kw6bmhbmnpm1-blender-2.79 \ | jq .entries.bin.entries.blender.narOffset 400 | |||
2017-11-14 | nix ls-{nar,store}: Don't abort on missing files | Eelco Dolstra | |
2017-11-14 | Add some tests | Eelco Dolstra | |
2017-11-14 | Rename tests/nar-index -> tests/nar-access | Eelco Dolstra | |