No description
Find a file
Linus Heckemann 78ac3eb4eb Fix #1762
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.
2018-02-13 14:26:19 +00:00
.github
config
corepkgs
doc/manual
maintainers
misc
mk
perl
scripts
src Fix #1762 2018-02-13 14:26:19 +00:00
tests Fix #1762 2018-02-13 14:26:19 +00:00
.dir-locals.el
.editorconfig
.gitignore
.travis.yml
bootstrap.sh
configure.ac
COPYING
local.mk
Makefile
Makefile.config.in
nix.spec.in
README.md
release-common.nix
release.nix
shell.nix
version

Nix, the purely functional package manager

Nix is a new take on package management that is fairly unique. Because of its purity aspects, a lot of issues found in traditional package managers don't appear with Nix.

To find out more about the tool, usage and installation instructions, please read the manual, which is available on the Nix website at http://nixos.org/nix/manual.

Contributing

Take a look at the Hacking Section of the manual. It helps you to get started with building Nix from source.

License

Nix is released under the LGPL v2.1

This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit.