mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
25865688a7
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)
|