diff --git a/tests/local.mk b/tests/local.mk index 2b92ec4e..baf74224 100644 --- a/tests/local.mk +++ b/tests/local.mk @@ -18,7 +18,8 @@ nix_tests = \ structured-attrs.sh \ fetchGit.sh \ fetchMercurial.sh \ - signing.sh + signing.sh \ + run.sh # parallel.sh install-tests += $(foreach x, $(nix_tests), tests/$(x)) diff --git a/tests/run.nix b/tests/run.nix new file mode 100644 index 00000000..77dcbd2a --- /dev/null +++ b/tests/run.nix @@ -0,0 +1,17 @@ +with import ./config.nix; + +{ + hello = mkDerivation { + name = "hello"; + buildCommand = + '' + mkdir -p $out/bin + cat > $out/bin/hello <