nixpkgs/pkgs/development/ruby-modules/runtests.sh
2017-05-27 15:19:34 -07:00

7 lines
226 B
Bash
Executable File

#!/usr/bin/env bash
set -o xtrace
pwd
find . -name text.nix
testfiles=$(find . -name test.nix)
nix-build -E "with import <nixpkgs> {}; callPackage testing/driver.nix { testFiles = [ $testfiles ]; }" --show-trace && cat result