haskell-te: ac0aeda9d726690995c5c91ea751943e66d6c88b

     1: { bash, mkBin, tryTip, withDeps }:
     2: 
     3: with rec {
     4:   hashspecTip = mkBin {
     5:     name = "hashspecTip";
     6:     script = ''
     7:       #!${bash}/bin/bash
     8:       set -e
     9:       set -o pipefail
    10: 
    11:       haveVar SIZE
    12:       haveVar REP
    13: 
    14:       SAMPLE=$(choose_sample "$SIZE" "$REP")
    15:       export SAMPLE
    16: 
    17:       R=$(filterToSampled < "$asts" | genQuickspecRunner)
    18:       A=$(nix-build --no-out-link --show-trace -E "$EXPR")
    19: 
    20:       jq -n --arg r "$R" --arg a "$A" '{"runner": $r, "analyser": $a}'
    21:     '';
    22:   };
    23: };
    24: 
    25: withDeps [ (tryTip { cmd = "hashspecTip"; pkg = hashspecTip; }) ]
    26:          hashspecTip

Generated by git2html.