nixpkgs-suyu/pkgs/build-support/fetchdocker/fetchDockerLayer.nix
2021-05-08 23:57:32 +02:00

13 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)