Fix build

[?]
Feb 20, 2020, 10:19 AM
S7W3TR3GGNJUR6OBV5RHXL6GFJ42GHZASOM7UH2BMOZSO6WCKPOQC

Dependencies

  • [2] VEXG3QPK hydra: upgrade nixpkgs to 19.09
  • [3] XJISJGZL hydra-eval-jobs: Parallelize
  • [4] ICYJNJWH Revert "Move build logic for the core hydra package into its own default.nix."
  • [5] PMNWRTGJ Add multiple output support
  • [6] ZTQEU5QS Hydra: Add support for maxSilent meta attribute (also already added timeout, but not implemented the actual timeout for the build yet)
  • [7] OC4Q4PXC Sync with nixUnstable
  • [8] P33UMMOO Use nixUnstable
  • [9] AVGER75N release: bump to 19.03
  • [10] T4LLYESZ * Nix expression for building Hydra.
  • [11] 4LWGZL33
  • [12] KJNFONHP Bump default silent timeout to 2 hours
  • [13] 5MP35ORV hydra-eval-jobs: Ugly hackery to reduce memory usage
  • [14] FTPCV25M Store aggregate members in the database
  • [15] QPDG4NEU release.nix: Use fetchGit to get Nixpkgs
  • [16] DPYJFBXU hydra-eval-jobs: Support meta.license being a list
  • [17] 3PNG7NIB Remove trailing whitespace
  • [18] 5X6FHW3S hydra-eval-jobs: Fix building against the latest unstable Nix
  • [19] 53IMJNBB Add isChannel column and meta attribute.
  • [20] FJ5H26J6 Fix building against nix master
  • [21] BGMBEXS6 Gradually increase maxHeapSize
  • [22] YQWH4POV * Simplify.
  • [23] IMQRX4MP hydra-eval-jobs: Use JSON instead of XML
  • [24] 5MNUNZWR * Store meta.maintainers.
  • [*] 4N5APGRG * Start of a helper tool to evaluate job expressions efficiently.

Change contents

  • replacement in release.nix at line 2
    [4.35][2.0:114]()
    , nixpkgs ? builtins.fetchGit { url = https://github.com/NixOS/nixpkgs-channels.git; ref = "nixos-19.09-small"; }
    [4.35]
    [4.65]
    , nixpkgs ? builtins.fetchTarball https://github.com/NixOS/nixpkgs/archive/release-19.09.tar.gz
  • replacement in release.nix at line 157
    [4.116][4.116:164]()
    NIX_LDFLAGS = [
    "-lpthread"
    ];
    [4.116]
    [4.3433]
    NIX_LDFLAGS = [ "-lpthread" ];
  • replacement in src/hydra-eval-jobs/hydra-eval-jobs.cc at line 112
    [3.1757][3.1757:1838]()
    auto v = findAlongAttrPath(state, attrPath, autoArgs, *vRoot).first;
    [3.1757]
    [4.686]
    auto v = findAlongAttrPath(state, attrPath, autoArgs, *vRoot);
  • replacement in src/hydra-eval-jobs/hydra-eval-jobs.cc at line 141
    [3.3163][3.3163:3227]()
    if (a && state.forceBool(*a->value, *a->pos)) {
    [3.3163]
    [3.3227]
    if (a && state.forceBool(*(*a)->value, *(*a)->pos)) {
  • replacement in src/hydra-eval-jobs/hydra-eval-jobs.cc at line 148
    [3.3471][3.3471:3555]()
    state.coerceToString(*a->pos, *a->value, context, true, false);
    [3.3471]
    [3.3555]
    state.coerceToString(*(*a)->pos, *(*a)->value, context, true, false);
  • replacement in src/hydra-eval-jobs/hydra-eval-jobs.cc at line 155
    [4.260][3.3813:4007]()
    state.forceList(*a->value, *a->pos);
    for (unsigned int n = 0; n < a->value->listSize(); ++n) {
    auto v = a->value->listElems()[n];
    [4.260]
    [3.4007]
    state.forceList(*(*a)->value, *(*a)->pos);
    for (unsigned int n = 0; n < (*a)->value->listSize(); ++n) {
    auto v = (*a)->value->listElems()[n];