2006-09-01 12:07:31 +00:00
|
|
|
let {
|
|
|
|
|
|
|
|
# Test inline source file definitions.
|
|
|
|
builder = builtins.toFile "
|
|
|
|
mkdir $out
|
|
|
|
|
|
|
|
cat > $out/program <<EOF
|
|
|
|
#! $SHELL
|
|
|
|
sleep 10000
|
|
|
|
EOF
|
|
|
|
|
|
|
|
chmod +x $out/program
|
|
|
|
";
|
|
|
|
|
|
|
|
body = derivation {
|
|
|
|
name = "gc-runtime";
|
|
|
|
system = "@system@";
|
|
|
|
builder = "@shell@";
|
|
|
|
args = ["-e" "-x" builder];
|
|
|
|
PATH = "@testPath@";
|
|
|
|
};
|
|
|
|
|
2006-07-21 12:46:54 +00:00
|
|
|
}
|