nixpkgs/pkgs/build-support/fetchdocker/fetchDockerLayer.nix
2021-01-25 18:31:47 +01:00

14 lines
279 B
Nix

pkgargs@{ 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)