lix/tests
Eelco Dolstra 3cd15c5b1f
Per-output reference and closure size checks
In structured-attributes derivations, you can now specify per-output
checks such as:

  outputChecks."out" = {
    # The closure of 'out' must not be larger than 256 MiB.
    maxClosureSize = 256 * 1024 * 1024;

    # It must not refer to C compiler or to the 'dev' output.
    disallowedRequisites = [ stdenv.cc "dev" ];
  };

  outputChecks."dev" = {
    # The 'dev' output must not be larger than 128 KiB.
    maxSize = 128 * 1024;
  };

Also fixed a bug in allowedRequisites that caused it to ignore
self-references.
2018-10-23 01:29:16 +02:00
..
lang FIx floating point evaluation 2018-08-19 11:59:49 +02:00
plugins
add.sh
binary-cache.sh
brotli.sh Require libbrotli 2018-08-06 14:06:54 +02:00
build-dry.sh
build-hook.nix
build-remote.sh Check requiredSystemFeatures for local builds 2018-09-28 16:10:27 +02:00
case-hack.sh
case.nar
check-refs.nix
check-refs.sh
check-reqs.nix Per-output reference and closure size checks 2018-10-23 01:29:16 +02:00
check-reqs.sh
check.nix
check.sh
common.sh.in Require libbrotli 2018-08-06 14:06:54 +02:00
config.nix
dependencies.builder0.sh
dependencies.builder1.sh
dependencies.builder2.sh
dependencies.nix
dependencies.sh
dump-db.sh
export-graph.nix
export-graph.sh
export.sh
fetchGit.sh
fetchMercurial.sh
fetchurl.sh
filter-source.nix
filter-source.sh
fixed.builder1.sh
fixed.builder2.sh
fixed.nix
fixed.sh
gc-concurrent.builder.sh
gc-concurrent.nix
gc-concurrent.sh
gc-concurrent2.builder.sh
gc-runtime.nix
gc-runtime.sh
gc.sh
hash-check.nix
hash.sh
import-derivation.nix
import-derivation.sh
init.sh
install-darwin.sh
lang.sh
linux-sandbox.sh
local.mk Add a test for LegacySSHStore that doesn't require a VM 2018-08-03 21:20:38 +02:00
logging.sh
misc.sh
multiple-outputs.nix
multiple-outputs.sh
nar-access.nix
nar-access.sh
nix-build.sh
nix-channel.sh
nix-copy-closure.nix
nix-copy-ssh.sh Add a test for LegacySSHStore that doesn't require a VM 2018-08-03 21:20:38 +02:00
nix-profile.sh
nix-shell.sh
optimise-store.sh
parallel.builder.sh
parallel.nix
parallel.sh
pass-as-file.sh
placeholders.sh
plugins.sh
pure-eval.nix
pure-eval.sh
referrers.sh
remote-builds.nix Prefer 'remote builder' over 'slave' 2018-09-10 18:57:46 +02:00
remote-store.sh
repair.sh
restricted.nix
restricted.sh
run.nix
run.sh
search.nix
search.sh
secure-drv-outputs.nix
secure-drv-outputs.sh
setuid.nix
shell.nix
shell.shebang.rb
shell.shebang.sh
signing.sh Add a test for signed content-addressed paths 2018-09-25 22:18:52 -04:00
simple.builder.sh
simple.nix
simple.sh
structured-attrs.nix
structured-attrs.sh
tarball.sh
timeout.nix
timeout.sh
user-envs.builder.sh
user-envs.nix
user-envs.sh