nix-config: cef534a11d692673c522cb674660b6f6c4be3972

     1: #!/usr/bin/env bash
     2: set -e
     3: 
     4: BASE=$(dirname "$(readlink -f "$0")")
     5: 
     6: export F="$BASE/test.nix"
     7: 
     8: [[ -e "$F" ]] || {
     9:     echo "Couldn't find test.nix file '$F', aborting" 1>&2
    10:     exit 1
    11: }
    12: 
    13: if nix-build --show-trace --no-out-link -E '(import (builtins.getEnv "F") {})'
    14: then
    15:     echo "ok - nix-config tests"
    16: else
    17:     echo "not ok - nix-config tests"
    18:     exit 1
    19: fi
    20: 
    21: exit

Generated by git2html.