mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +02:00
20 lines
319 B
Nix
20 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
|
||
'';
|
||
};
|
||
|
||
}
|