-
Notifications
You must be signed in to change notification settings - Fork 7
/
overlay.nix
32 lines (28 loc) · 992 Bytes
/
overlay.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
self: super:
let
lib = import ./lib { pkgs = super; };
dockerImages = with lib; {
nix = makeImage ./images/nix.nix;
example = makeImage ./images/example.nix;
example-systemd = makeImage ./images/example-systemd.nix;
};
tests.nixContainerImages = {
s6 = super.callPackages ./tests/s6.nix { };
readme = super.callPackages ./tests/readme.nix { };
minimalImageSize = super.callPackage ./tests/minimal-image-size.nix { };
dockerImages = {
nix = super.callPackage ./tests/nix.nix { };
from = super.callPackage ./tests/from.nix { };
exposedPorts = super.callPackage ./tests/exposed-ports.nix { };
nginx = super.callPackage ./tests/nginx.nix { };
env = super.callPackage ./tests/env.nix { };
systemd = super.callPackage ./tests/systemd.nix { };
s6 = super.callPackage ./tests/s6-image.nix { };
};
};
in
{
inherit dockerImages;
tests.nixContainerImages = tests.nixContainerImages;
lib = super.lib // lib;
}