core/pkgs/build-support/fetchdocker/fetchDockerLayer.nix

22 lines
301 B
Nix
Raw Normal View History

2024-06-30 08:12:46 +00:00
pkgargs@{
stdenv,
lib,
haskellPackages,
writeText,
gawk,
}:
2024-05-02 00:46:19 +00:00
let
2024-06-30 08:12:46 +00:00
generic-fetcher = import ./generic-fetcher.nix pkgargs;
2024-05-02 00:46:19 +00:00
in
args@{ layerDigest, ... }:
2024-06-30 08:12:46 +00:00
generic-fetcher (
{
fetcher = "hocker-layer";
name = "docker-layer-${layerDigest}.tar.gz";
tag = "unused";
}
// args
)