mirror of
https://github.com/nix-community/docker-nixpkgs.git
synced 2026-01-11 20:30:37 -05:00
13 lines
308 B
Nix
13 lines
308 B
Nix
_: pkgs: let
|
|
importDir = import ./lib/importDir.nix {
|
|
inherit (pkgs) lib;
|
|
};
|
|
in
|
|
{
|
|
# builder stuff can be in the top-level
|
|
buildCLIImage = pkgs.callPackage ./lib/buildCLIImage.nix {};
|
|
|
|
# docker images must be lower-cased
|
|
docker-nixpkgs = importDir (path: pkgs.callPackage path {}) ./images;
|
|
}
|