323b556dc8
This verison has a worse UI, but also chnages the schema less: One non-null constraint is removed, but no new columns are added. Co-Authored-By: Andrea Ciceri <andrea.ciceri@autistici.org> Co-Authored-By: regnat <rg@regnat.ovh>
36 lines
754 B
Nix
36 lines
754 B
Nix
let cfg = import ./config.nix; in
|
|
rec {
|
|
empty_dir =
|
|
cfg.mkContentAddressedDerivation {
|
|
name = "empty-dir";
|
|
builder = ./empty-dir-builder.sh;
|
|
};
|
|
|
|
fails =
|
|
cfg.mkContentAddressedDerivation {
|
|
name = "fails";
|
|
builder = ./fail.sh;
|
|
};
|
|
|
|
succeed_with_failed =
|
|
cfg.mkContentAddressedDerivation {
|
|
name = "succeed-with-failed";
|
|
builder = ./succeed-with-failed.sh;
|
|
};
|
|
|
|
caDependingOnCA =
|
|
cfg.mkContentAddressedDerivation {
|
|
name = "ca-depending-on-ca";
|
|
builder = ./dir-with-file-builder.sh;
|
|
FOO = empty_dir;
|
|
};
|
|
|
|
nonCaDependingOnCA =
|
|
cfg.mkDerivation {
|
|
name = "non-ca-depending-on-ca";
|
|
builder = ./dir-with-file-builder.sh;
|
|
FOO = empty_dir;
|
|
};
|
|
}
|
|
|