mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
7 lines
239 B
Bash
Executable file
7 lines
239 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -o xtrace
|
|
cd $(dirname $0)
|
|
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
|