1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
{ bionix }: with bionix; with lib.types; let fa = f: matchFiletype "genmap-index" { fa = _: f; } f; in ref: stage { name = "genmap-index"; buildInputs = with pkgs; [ genmap ]; buildCommand = '' genmap index -F ${fa ref} -I $out ''; }