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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
348 B
Nix
Raw Normal View History

2024-05-02 00:46:19 +00:00
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
)