default.nix 549 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
{ pkgs ? import <nixpkgs> {} }:
#This file configures the test index
let
  fullJsonTestSpec = basename: d: _:
  {
    argotest   = pkgs.nix-update-source.fetch "${basename}/${d}/argotest.json";

    nrm        = pkgs.nix-update-source.fetch "${basename}/${d}/nrm.json";
    libnrm     = pkgs.nix-update-source.fetch "${basename}/${d}/libnrm.json";
    containers = pkgs.nix-update-source.fetch "${basename}/${d}/containers.json";
  };

13
  getSpec = d: pkgs.lib.mapAttrs (fullJsonTestSpec d) (builtins.readDir d);
14 15 16 17
in
  (getSpec ./fulljson) //
  {
  }