queue runner: test notifications

Especially, test the difference in behavior of substituted and unsubstituted builds.
This commit is contained in:
Graham Christensen
2021-04-14 14:11:37 -04:00
committed by Graham Christensen
parent e45f852277
commit cf4434bc9f
2 changed files with 156 additions and 0 deletions

14
t/jobs/notifications.nix Normal file
View File

@ -0,0 +1,14 @@
with import ./config.nix;
{
canbesubstituted =
mkDerivation {
name = "can-be-substituted";
builder = ./empty-dir-builder.sh;
};
unsubstitutable =
mkDerivation {
name = "unsubstitutable";
builder = ./empty-dir-builder.sh;
};
}