buildbot/nix-eval Build done.
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
Build images / Build (bitwarden) (push) Failing after 15s
Build images / Build (immich) (push) Failing after 40s
Build images / Build (sword-container-builder) (push) Failing after 38s
Build images / Build (builder) (push) Has been cancelled
Build images / Build (vm-test) (push) Has been cancelled
48 lines
728 B
Nix
48 lines
728 B
Nix
{
|
|
buildah,
|
|
git,
|
|
lib',
|
|
nix,
|
|
nix-output-monitor,
|
|
nodejs_24,
|
|
podman,
|
|
writeTextFile,
|
|
|
|
name,
|
|
...
|
|
}:
|
|
let
|
|
policy = (
|
|
writeTextFile {
|
|
name = "policy.json";
|
|
text = ''
|
|
{
|
|
"default": [{"type": "insecureAcceptAnything"}]
|
|
}
|
|
'';
|
|
destination = "/etc/containers/policy.json";
|
|
}
|
|
);
|
|
nix-conf = writeTextFile {
|
|
name = "nix.conf";
|
|
text = ''
|
|
extra-experimental-features = nix-command flakes
|
|
'';
|
|
destination = "/etc/nix/nix.conf";
|
|
};
|
|
in
|
|
lib'.mkImage {
|
|
name = name "builder";
|
|
contents = lib'.basePackages ++ [
|
|
buildah
|
|
git
|
|
nix
|
|
nix-conf
|
|
nix-output-monitor
|
|
nodejs_24
|
|
podman
|
|
policy
|
|
];
|
|
includeNixDB = true;
|
|
}
|