| 3 Nov 2025 |
K900 | Nah that's normal | 11:48:18 |
K900 | This is like every other staging cycle | 11:48:24 |
ivy | 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 | until using darwin and having to patch everything | 11:50:32 |
Grimmauld (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 eventually | 12:09:29 |
Grimmauld (any/all) | We had terrible cycles before. This one shouldn't be too bad, considering it is freeze month | 12:10:14 |
K900 | OK who's doing ocaml stuff these days | 12:10:17 |
Grimmauld (any/all) | oh god screw that | 12:10:31 |
K900 | I need to find whoever is doing it | 12:10:44 |
K900 | And drag them into this room | 12:10:47 |
K900 | Like now | 12:10:49 |
K900 |  Download image.png | 12:10:59 |
Grimmauld (any/all) | i looked at z3 ocaml a while back, never again | 12:10:58 |
K900 | Because I am looking at this | 12:11:02 |
K900 | And I am not understand | 12:11:05 |
K900 | And I do not want to be understand | 12:11:11 |
Grimmauld (any/all) | Ah i see | 12:14:12 |
Grimmauld (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 (any/all) | (+ formatting) | 12:15:24 |
Grimmauld (any/all) | not sure | 12:15:28 |
| StepBroBD joined the room. | 12:15:39 |
StepBroBD | i saw K900 pining someone doing ocaml | 12:16:04 |
StepBroBD | did i mess smth up lmfao | 12:16:26 |
K900 | Yes | 12:16:35 |
Grimmauld (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 | Not really | 12:16:57 |
K900 | Merge conflicts on staging are not uncommon | 12:16:58 |
K900 | But with this particular instance I have no idea what the correct resolution looks like | 12:17:10 |
StepBroBD | i guess its due to staging next dont have what we have on master right? | 12:17:34 |
K900 | The other way around usually | 12:17:43 |