2011-06-30 17:19:13 +02:00
|
|
|
|
with import ./config.nix;
|
|
|
|
|
|
2017-01-19 14:17:57 +01:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
infiniteLoop = mkDerivation {
|
|
|
|
|
name = "timeout";
|
|
|
|
|
buildCommand = ''
|
|
|
|
|
echo "‘timeout’ builder entering an infinite loop"
|
|
|
|
|
while true ; do echo -n .; done
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
silent = mkDerivation {
|
|
|
|
|
name = "silent";
|
|
|
|
|
buildCommand = ''
|
|
|
|
|
sleep 60
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
|
2011-06-30 17:19:13 +02:00
|
|
|
|
}
|