feat(users/sterni/nix): move flow.match to string.match

After all it only matches strings.

Change-Id: I3d2e5221ef43f692de69028e78ed98b6b11f82d1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2586
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
sterni 2021-03-03 01:57:00 +01:00
parent ed3fce2b19
commit 8ff14cacb6
5 changed files with 17 additions and 14 deletions

View file

@ -44,11 +44,9 @@ let
# TODO(sterni): condf or magic
# like <nixpkgs/pkgs/build-support/coq/extra-lib.nix>
match = val: matcher: matcher."${val}";
in {
inherit
cond
match
;
}