nixpkgs-suyu/pkgs/build-support/fetchdocker/fetchDockerConfig.nix
2021-01-25 18:31:47 +01:00

13 lines
318 B
Nix

pkgargs@{ 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)