Update outpaths.nix to add aarch64 and also handle a possible handleEvalIssue feature

This commit is contained in:
Graham Christensen 2017-12-10 16:11:51 -05:00
parent 186c6e6310
commit 43ac1640b8
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -1,16 +1,29 @@
{ checkMeta ? false }:
{ checkMeta }:
let
lib = import ./lib;
hydraJobs = import ./pkgs/top-level/release.nix
# Compromise: accuracy vs. resources needed for evaluation.
{
supportedSystems = [ "x86_64-linux" "x86_64-darwin" ];
supportedSystems = [
"aarch64-linux"
"i686-linux"
"x86_64-linux"
"x86_64-darwin"
];
nixpkgsArgs = {
config = {
allowBroken = true;
allowUnfree = true;
inHydra = true;
allowInsecurePredicate = x: true;
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);
inHydra = true;
};
};
};