!UNVBThoJtlIiVwiDjU:nixos.org

Staging

315 Members
Staging merges | Running staging cycles: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Astaging-next+head%3Astaging-next-25.05 | Review Reports: https://malob.github.io/nix-review-tools-reports/108 Servers

Load older messages


SenderMessageTime
3 Nov 2025
@k900:0upti.meK900Nah that's normal11:48:18
@k900:0upti.meK900This is like every other staging cycle11:48:24
@ivy:faggot.shivy okay damn, didn’t know that, despite the fact i’ve been on nixos for like 6 years i’ve never thought about staging 11:50:19
@ivy:faggot.shivyuntil using darwin and having to patch everything11:50:32
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)staging is a special kind of fun. Its often not viable to test stuff against staging directly, because dependencies are not built yet. And picking to master for a test still runs the risk of oversights. Or, the fact staging is run by like 5-10 people that need to sleep eventually12:09:29
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)We had terrible cycles before. This one shouldn't be too bad, considering it is freeze month12:10:14
@k900:0upti.meK900OK who's doing ocaml stuff these days12:10:17
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)oh god screw that12:10:31
@k900:0upti.meK900I need to find whoever is doing it12:10:44
@k900:0upti.meK900And drag them into this room12:10:47
@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

Show newer messages


Back to Room ListRoom Version: 6