summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/name.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/name.ml b/lib/name.ml
index abf6e96..b78cf5f 100644
--- a/lib/name.ml
+++ b/lib/name.ml
@@ -15,6 +15,8 @@ module Name = struct
(* it’s okay to have fun *)
Fmt.pf fmt "「%s」" (take name)
+ let show = Fmt.str "%a" pp
+
(* String.compare but with nixpkgs at the top *)
let compare (Name a) (Name b) =
let prio x =