!UNVBThoJtlIiVwiDjU:nixos.org

Staging

318 Members
Staging merges | Find currently open staging-next PRs: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+sort%3Aupdated-desc+head%3Astaging-next+head%3Astaging-next-21.05+is%3Aopen109 Servers

Load older messages


SenderMessageTime
3 Nov 2025
@k900:0upti.meK900Like now12:10:49
@k900:0upti.meK900image.png
Download image.png
12:10:59
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) i looked at z3 ocaml a while back, never again 12:10:58
@k900:0upti.meK900Because I am looking at this12:11:02
@k900:0upti.meK900And I am not understand12:11:05
@k900:0upti.meK900And I do not want to be understand12:11:11
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)Ah i see12:14:12
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)

i think what you want is:


let
  inherit (callPackage ./generic.nix args) src version library_deps;
in
lib.throwIf
  (
    lib.versionAtLeast ocaml.version "5.0" && !lib.versionAtLeast version "0.23"
    || lib.versionAtLeast ocaml.version "5.1" && !lib.versionAtLeast version "0.25"
    || lib.versionAtLeast ocaml.version "5.2" && !lib.versionAtLeast version "0.26.2"
    || lib.versionAtLeast ocaml.version "5.3" && !lib.versionAtLeast version "0.27"
    || lib.versionAtLeast ocaml.version "5.4" && !lib.versionAtLeast version "0.28"
  )
  "ocamlformat ${version} is not available for OCaml ${ocaml.version}"
buildDunePackage {
  pname = "ocamlformat";
  inherit src version;
  minimalOCamlVersion = "4.08";
12:15:17
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)(+ formatting)12:15:24
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)not sure12:15:28
@stepbrobd:matrix.orgStepBroBD joined the room.12:15:39
@stepbrobd:matrix.orgStepBroBD i saw K900 pining someone doing ocaml 12:16:04
@stepbrobd:matrix.orgStepBroBD did i mess smth up lmfao 12:16:26
@k900:0upti.meK900Yes12:16:35
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)https://github.com/NixOS/nixpkgs/blob/90dec067d09ee9b02f817063f480b395ba81039e/pkgs/development/ocaml-modules/ocamlformat/ocamlformat.nix#L17-L32 (this would be what we have on master, basically)12:16:41
@k900:0upti.meK900Not really12:16:57
@k900:0upti.meK900Merge conflicts on staging are not uncommon12:16:58
@k900:0upti.meK900But with this particular instance I have no idea what the correct resolution looks like12:17:10
@stepbrobd:matrix.orgStepBroBD i guess its due to staging next dont have what we have on master right? 12:17:34
@k900:0upti.meK900The other way around usually12:17:43
@k900:0upti.meK900 staging-next has more things than master 12:17:49
@k900:0upti.meK900And master is automatically merged into it every few hours12:17:56
@k900:0upti.meK900In this case, https://github.com/NixOS/nixpkgs/commit/1e1cef625b2108f3d3cab7fb6daff2fe6223324312:18:31
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)Its a conflict between https://github.com/NixOS/nixpkgs/commit/89fd9025cfae7cab49ea36134640952ad553c4fa and https://github.com/NixOS/nixpkgs/commit/1e1cef625b2108f3d3cab7fb6daff2fe6223324312:18:35
@stepbrobd:matrix.orgStepBroBD "data race" i guess
the easiest way would be me reverting and re-create the same pr after staging-next workflow?
12:18:39
@k900:0upti.meK900No12:18:45
@k900:0upti.meK900The easiest way is to tell me how to resolve the conflict and I'll do it manually and push12:19:02
@stepbrobd:matrix.orgStepBroBD keep ocamlformat 0.28 12:20:08
@stepbrobd:matrix.orgStepBroBD should be that ez 12:20:15
@k900:0upti.meK900It's not the version that's conflicting12:20:26

Show newer messages


Back to Room ListRoom Version: 6