nix-super/src/libstore
Eelco Dolstra 00903fa799 --check: Keep the differing output if -K is given
This makes it easier to investigate the non-determinism, e.g.

  $ nix-build pkgs/stdenv/linux -A stage1.pkgs.zlib --check -K
  error: derivation ‘/nix/store/l54i8wlw22656i4pk05c52ngv9rpl39q-zlib-1.2.8.drv’ may not be deterministic: output ‘/nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8’ differs from ‘/nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8-check’

  $ diffoscope /nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8 /nix/store/11a27shh6n2ivi4a7s964i65ql80cf27-zlib-1.2.8-check
  ...
  ├── lib/libz.a
  │   ├── metadata
  │   │ @@ -1,15 +1,15 @@
  │   │ -rw-r--r-- 30001/30000   3096 Jan 12 15:20 2016 adler32.o
  ...
  │   │ +rw-r--r-- 30001/30000   3096 Jan 12 15:28 2016 adler32.o
  ...
2016-01-12 16:44:26 +01:00
..
build.cc --check: Keep the differing output if -K is given 2016-01-12 16:44:26 +01:00
builtins.cc <nix/fetchurl.nix>: Support xz-compressed NARs 2015-10-30 12:34:30 +01:00
builtins.hh Make <nix/fetchurl.nix> a builtin builder 2015-07-20 04:38:46 +02:00
derivations.cc OCD: foreach -> C++11 ranged for 2015-07-17 20:13:56 +02:00
derivations.hh Allow remote builds without sending the derivation closure 2015-07-17 17:57:40 +02:00
download.cc int2String() -> std::to_string() 2015-10-29 13:26:55 +01:00
download.hh Show progress indicator for builtin fetchurl 2015-10-21 15:14:42 +02:00
gc.cc OCD: foreach -> C++11 ranged for 2015-07-17 20:13:56 +02:00
globals.cc move preBuildHook defaulting to globals.cc 2015-10-21 14:39:08 -07:00
globals.hh Add the pre-build hook. 2015-04-18 16:56:02 -04:00
local-store.cc Build sandbox support etc. unconditionally on Linux 2015-12-10 11:47:17 +01:00
local-store.hh Shut up clang warnings 2015-09-18 01:22:35 +02:00
local.mk Merge pull request #704 from ysangkok/freebsd-support 2015-11-24 19:24:21 +01:00
misc.cc OCD: foreach -> C++11 ranged for 2015-07-17 20:13:56 +02:00
misc.hh Allow remote builds without sending the derivation closure 2015-07-17 17:57:40 +02:00
nix-store.pc.in Install some pkgconfig files 2014-09-18 12:00:40 +02:00
optimise-store.cc optimizePath(): Detect some .links corruption 2015-11-09 21:28:25 +01:00
pathlocks.cc ~PathLocks(): Handle exceptions 2016-01-04 11:34:36 +01:00
pathlocks.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
profiles.cc nix-collect-garbage: Don't call nix-env 2015-05-21 16:28:30 +02:00
profiles.hh nix-collect-garbage: Don't call nix-env 2015-05-21 16:28:30 +02:00
references.cc OCD: foreach -> C++11 ranged for 2015-07-17 20:13:56 +02:00
references.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
remote-store.cc daemon: Add 'buildMode' parameter to 'buildPaths' RPC 2015-12-02 18:14:49 +01:00
remote-store.hh Shut up clang warnings 2015-09-18 01:22:35 +02:00
sandbox-defaults.sb.in Revert "remove sandbox-defaults.sb" 2015-11-21 16:40:24 -05:00
schema.sql * Store the size of a store path in the database (to be precise, the 2010-11-16 17:11:46 +00:00
store-api.cc nix-collect-garbage: Revive --max-freed 2015-08-21 13:57:53 +02:00
store-api.hh Add option to verify build determinism 2015-11-09 23:16:24 +01:00
worker-protocol.hh daemon: Add 'buildMode' parameter to 'buildPaths' RPC 2015-12-02 18:14:49 +01:00