From 0f98236c75cdb436be7669ccaa249264456baa37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Kr=C3=BCger?= Date: Fri, 24 May 2024 15:46:01 +0100 Subject: [PATCH] Default os-family OPAM variable to 'nixos' --- src/opam_variables_command.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opam_variables_command.ml b/src/opam_variables_command.ml index a24f13a..7a071af 100644 --- a/src/opam_variables_command.ml +++ b/src/opam_variables_command.ml @@ -2,7 +2,7 @@ let main () = let open Nix in let go (name, value) = match OpamVariable.to_string name, Lazy.force value with - | ("os-distribution" as name), _ -> Some (name, string "nixos") + | (("os-distribution" | "os-family") as name), _ -> Some (name, string "nixos") | name, Some value -> let value = match value with