Skip to content

Commit

Permalink
Default os-family OPAM variable to 'nixos'
Browse files Browse the repository at this point in the history
  • Loading branch information
vapourismo committed May 24, 2024
1 parent bd6e54f commit 0f98236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/opam_variables_command.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0f98236

Please sign in to comment.