Make the outpaths.nix more robust since nixpkgs' metat-check PRs has merged

This commit is contained in:
Graham Christensen 2017-12-12 19:55:40 -05:00
parent 7411524ed3
commit ce6d968cb5
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -5,24 +5,23 @@ let
# Compromise: accuracy vs. resources needed for evaluation.
{
supportedSystems = [
# Not ready to evaluate these archs, see #32365
# "aarch64-linux"
# "i686-linux"
"aarch64-linux"
"i686-linux"
"x86_64-linux"
"x86_64-darwin"
];
nixpkgsArgs = {
config = {
allowBroken = true;
allowUnfree = true;
allowInsecurePredicate = x: true;
checkMeta = false; # checkMeta; see #32365
checkMeta = checkMeta;
# See https://github.com/NixOS/nixpkgs/pull/32365
handleEvalIssue = reason: errormsg:
if reason == "unknown-meta"
then (builtins.trace (abort errormsg) true)
else (builtins.trace errormsg true);
then builtins.trace errormsg true
else true;
inHydra = true;
};