core/pkgs/build-support/fetchdocker/fetchDockerConfig.nix
2024-06-30 09:12:46 +01:00

27 lines
348 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
)