This change adds granular, non-docker daemon docker image fetchers and a docker image layer compositor to be used in conjunction with the `docker2nix` utility provided by the `haskellPackages.hocker` package. This change includes a hackage package version bump and updated sha256 for recent fixes released to `hocker` resulting from formulating this patch.
14 lines
326 B
Nix
14 lines
326 B
Nix
pkgargs@{ stdenv, lib, haskellPackages, writeText, gawk }:
|
|
let
|
|
generic-fetcher =
|
|
import ./generic-fetcher.nix pkgargs;
|
|
in
|
|
|
|
args@{ repository ? "library", imageName, tag, ... }:
|
|
|
|
generic-fetcher ({
|
|
fetcher = "hocker-config";
|
|
name = "${repository}_${imageName}_${tag}-config.json";
|
|
tag = "unused";
|
|
} // args)
|