mirror of
https://github.com/NixOS/nix
synced 2024-09-19 23:03:53 -04:00
21 lines
319 B
Nix
21 lines
319 B
Nix
with import ./config.nix;
|
||
|
||
{
|
||
|
||
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
|
||
'';
|
||
};
|
||
|
||
}
|