Added build product test files

This commit is contained in:
Sander van der Burg 2013-03-20 18:08:25 +01:00
parent 03189bf62b
commit 3884725bfd
3 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,5 @@
#! /bin/sh
mkdir -p $out/nix-support
echo "Hello" > $out/text.txt
echo "doc none $out/text.txt" > $out/nix-support/hydra-build-products

View file

@ -0,0 +1,5 @@
#! /bin/sh
mkdir -p $out/nix-support
echo "Hello" > "$out/some text.txt"
echo "doc none \"$out/some text.txt\"" > $out/nix-support/hydra-build-products

View file

@ -0,0 +1,14 @@
with import ./config.nix;
{
simple =
mkDerivation {
name = "build-product-simple";
builder = ./build-product-simple.sh;
};
with_spaces =
mkDerivation {
name = "build-product-with-spaces";
builder = ./build-product-with-spaces.sh;
};
}