mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 10:31:36 +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
287 B
Nix
14 lines
287 B
Nix
pkgargs@{ stdenv, lib, haskellPackages, writeText, gawk }:
|
|
let
|
|
generic-fetcher =
|
|
import ./generic-fetcher.nix pkgargs;
|
|
in
|
|
|
|
args@{ layerDigest, ... }:
|
|
|
|
generic-fetcher ({
|
|
fetcher = "hocker-layer";
|
|
name = "docker-layer-${layerDigest}.tar.gz";
|
|
tag = "unused";
|
|
} // args)
|