A modern, delicious implementation of the Nix package manager, focused on correctness, usability, and growth — and committed to doing right by its community
Find a file
Jonas Chevalier 5e6fa9092f
libstore: improve hash mismatch error messages
Use the same output ordering and format everywhere.

This is such a common issue that we trade the single-line error message for
more readability.

Old message:
```
fixed-output derivation produced path '/nix/store/d4nw9x2sy9q3r32f3g5l5h1k833c01vq-example.com' with sha256 hash '08y4734bm2zahw75b16bcmcg587vvyvh0n11gwiyir70divwp1rm' instead of the expected hash '1xzwnipjd54wl8g93vpw6hxnpmdabq0wqywriiwmh7x8k0lvpq5m'
```

New message:
```
hash mismatch in fixed-output derivation '/nix/store/d4nw9x2sy9q3r32f3g5l5h1k833c01vq-example.com':
  wanted: sha256:1xzwnipjd54wl8g93vpw6hxnpmdabq0wqywriiwmh7x8k0lvpq5m
  got:    sha256:08y4734bm2zahw75b16bcmcg587vvyvh0n11gwiyir70divwp1rm

```
2018-12-12 17:42:00 +01:00
.github Rename 1.12 -> 2.0 2018-01-31 18:58:45 +01:00
config update config/config.{sub,guess} 2018-08-13 20:00:17 +00:00
corepkgs Make <nix/buildenv.nix> a builtin builder 2018-03-20 17:28:09 +01:00
doc/manual s3: document scheme query parameter 2018-12-08 00:15:00 +01:00
maintainers upload-release.pl: Handle prerelease versions 2018-08-30 15:21:58 +02:00
misc docker: move the docker file to https://github.com/NixOS/docker 2018-06-21 19:13:04 +02:00
mk Fix missing $DESTDIR when installing programs 2018-04-08 18:22:10 -07:00
perl Modularize config settings 2018-05-30 13:28:01 +02:00
scripts Merge pull request #2432 from luke-clifton/fixssl 2018-11-15 13:07:43 +01:00
src libstore: improve hash mismatch error messages 2018-12-12 17:42:00 +01:00
tests Merge branch 'better-git-cache' of https://github.com/graham-at-target/nix 2018-11-20 20:41:19 +01:00
.dir-locals.el Add .dir-locals.el for Emacs 2016-01-28 11:12:04 +01:00
.editorconfig Add .editorconfig 2017-06-05 22:57:28 +01:00
.gitignore Make <nix/buildenv.nix> a builtin builder 2018-03-20 17:28:09 +01:00
.travis.yml Test the installer 2017-07-14 12:11:04 -04:00
bootstrap.sh bootstrap: Simplify & make more robust. 2011-09-06 12:11:05 +00:00
configure.ac editline: wip 2018-10-29 08:44:58 -05:00
COPYING * Change this to LGPL to keep the government happy. 2006-04-25 16:41:06 +00:00
local.mk Merge all nix-* binaries into nix 2018-10-26 12:54:00 +02:00
Makefile Merge all nix-* binaries into nix 2018-10-26 12:54:00 +02:00
Makefile.config.in editline: wip 2018-10-29 08:44:58 -05:00
nix.spec.in Attempt to fix the RPM build 2018-07-31 14:03:19 +02:00
README.md Fix minor grammatical nitpick ("it's" vs. "its") in README.md. 2017-03-22 10:11:23 -04:00
release-common.nix Remove editline expression, not needed anymore 2018-11-13 20:55:08 +01:00
release.nix bump base nixpkgs used by default 18.03 -> 18.09 2018-09-26 15:37:13 -05:00
shell.nix Disable the S3 content-encoding patch 2018-11-01 15:18:38 +01:00
version Revert "Bump version" 2018-11-09 10:27:23 +01:00

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.