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

11 lines
313 B
Nix
Raw Normal View History

2024-05-02 00:46:19 +00:00
pkgargs@{ stdenv, lib, haskellPackages, writeText, gawk }:
2024-05-13 21:24:10 +00:00
let generic-fetcher = import ./generic-fetcher.nix pkgargs;
2024-05-02 00:46:19 +00:00
2024-05-13 21:24:10 +00:00
in args@{ repository ? "library", imageName, tag, ... }:
2024-05-02 00:46:19 +00:00
generic-fetcher ({
fetcher = "hocker-config";
2024-05-13 21:24:10 +00:00
name = "${repository}_${imageName}_${tag}-config.json";
tag = "unused";
2024-05-02 00:46:19 +00:00
} // args)