Skip to content

chore: prepare for upcoming nixpkgs#6006

Draft
ggreif wants to merge 28 commits intomasterfrom
gabor/nixpkgs-canary
Draft

chore: prepare for upcoming nixpkgs#6006
ggreif wants to merge 28 commits intomasterfrom
gabor/nixpkgs-canary

Conversation

@ggreif
Copy link
Copy Markdown
Contributor

@ggreif ggreif commented Apr 11, 2026

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 11, 2026

Comparing from b818df6 to 33564e9:
The produced WebAssembly code seems to be completely unchanged.
In terms of gas, no changes are observed in 5 tests.
In terms of size, no changes are observed in 5 tests.

@ggreif ggreif self-assigned this Apr 11, 2026
@ggreif ggreif added the dependencies Pull requests that update a dependency file label Apr 11, 2026
@ggreif ggreif force-pushed the gabor/nixpkgs-canary branch 3 times, most recently from 6fed11d to 78f48f0 Compare April 11, 2026 22:40
Comment thread nix/moc.js.nix
pkgs.ocamlPackages.js_of_ocaml-ppx
pkgs.nodejs
pkgs.nodePackages.terser
# pkgs.nodePackages.terser
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove, but check whether jsoo_minify does a decent job, below...

Comment thread nix/moc.js.nix
Comment thread src/mo_frontend/menhir_error_reporting.ml Outdated
Comment thread src/mo_frontend/menhir_error_reporting.ml Outdated
the explanations that we produce. *)


let weed comp l =
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Written by Grok!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs some prettifying...

we have read and what we expect to read. *)
let stack = stack env in

let stack_elements (env : 'a env) : element list Lazy.t =
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Written by Grok!

@ggreif ggreif force-pushed the gabor/nixpkgs-canary branch from 87c0b39 to 9332f6d Compare April 12, 2026 01:59
@ggreif ggreif force-pushed the gabor/nixpkgs-canary branch from f1788b7 to 9f6c398 Compare April 17, 2026 10:37
ggreif and others added 2 commits April 17, 2026 12:41
Automated changes by the
[update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock)
GitHub Action
as defined in
[.github/workflows/update-flake-lock-trial.yml](https://github.com/caffeinelabs/motoko/blob/master/.github/workflows/update-flake-lock-trial.yml)
and run in:
https://github.com/caffeinelabs/motoko/actions/runs/24618770703/attempts/1:

```
Flake lock file updates:

• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/5566022' (2026-04-09)
  → 'github:oxalica/rust-overlay/e611106' (2026-04-18)
```

This PR is just to test if the above dependency bumps cause issues.
If checks fail, this PR remains open so we can investigate.
If all checks succeed this PR is automatically closed.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
caffeine-ci-generic-rw Bot and others added 2 commits April 21, 2026 01:40
Automated changes by the
[update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock)
GitHub Action
as defined in
[.github/workflows/update-flake-lock-trial.yml](https://github.com/caffeinelabs/motoko/blob/master/.github/workflows/update-flake-lock-trial.yml)
and run in:
https://github.com/caffeinelabs/motoko/actions/runs/24694214655/attempts/1:

```
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4bd9165' (2026-04-14)
  → 'github:NixOS/nixpkgs/b12141e' (2026-04-18)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/e611106' (2026-04-18)
  → 'github:oxalica/rust-overlay/25d75be' (2026-04-20)
```

This PR is just to test if the above dependency bumps cause issues.
If checks fail, this PR remains open so we can investigate.
If all checks succeed this PR is automatically closed.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Comment thread src/mo_frontend/menhir_error_reporting.ml Outdated
Comment thread src/mo_frontend/menhir_error_reporting.ml Outdated
ggreif and others added 9 commits April 21, 2026 01:49
Automated changes by the
[update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock)
GitHub Action
as defined in
[.github/workflows/update-flake-lock-trial.yml](https://github.com/caffeinelabs/motoko/blob/master/.github/workflows/update-flake-lock-trial.yml)
and run in:
https://github.com/caffeinelabs/motoko/actions/runs/24751176049/attempts/1:

```
Flake lock file updates:

• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/25d75be' (2026-04-20)
  → 'github:oxalica/rust-overlay/0206130' (2026-04-21)
```

This PR is just to test if the above dependency bumps cause issues.
If checks fail, this PR remains open so we can investigate.
If all checks succeed this PR is automatically closed.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
The arm64 CI was rebuilding OCaml 5.3 from source on every run (no
cache hit after the nixos-unstable channel switch) and tripping on
\`tests/lib-runtime-events/test_dropped_events.ml\` — a known
upstream OCaml flake on aarch64-linux. Channel-native 5.4 should
have a working binary cache and resolves the testsuite issue.

Also bumps \`src/docs/.ocamlformat\`'s \`ocaml-version\` target from
4.14 to 5.4 to keep the formatter aligned, per the comment in
\`pkgs.nix\`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The didc that ships with the upcoming nixos-unstable channel breaks
the wide \`type A\` record on a different boundary — same record,
same field types, only the line-wrap heuristic moved. Accept the
re-wrapped form.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Automated changes by the
[update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock)
GitHub Action.
as defined in
[.github/workflows/update-flake-lock.yml](https://github.com/caffeinelabs/motoko/blob/master/.github/workflows/update-flake-lock.yml)
and run in:
https://github.com/caffeinelabs/motoko/actions/runs/24936570127/attempts/1:

```
Flake lock file updates:

• Updated input 'motoko-core-src':
    'github:caffeinelabs/motoko-core/cfc392f' (2026-04-20)
  → 'github:caffeinelabs/motoko-core/1577a86' (2026-04-23)
```

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Automated changes by the
[update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock)
GitHub Action
as defined in
[.github/workflows/update-flake-lock-trial.yml](https://github.com/caffeinelabs/motoko/blob/master/.github/workflows/update-flake-lock-trial.yml)
and run in:
https://github.com/caffeinelabs/motoko/actions/runs/24938252253/attempts/1:

```
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/b12141e' (2026-04-18)
  → 'github:NixOS/nixpkgs/0726a0e' (2026-04-22)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/0206130' (2026-04-21)
  → 'github:oxalica/rust-overlay/3be56bd' (2026-04-25)
```

This PR is just to test if the above dependency bumps cause issues.
If checks fail, this PR remains open so we can investigate.
If all checks succeed this PR is automatically closed.

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…tance\`

OCaml 5.4 ships \`String.edit_distance\` in the stdlib — same
algorithm as the hand-rolled \`Lib.String.levenshtein_distance\`
(annotated \"Courtesy of Claude.ai\"). Drops 33 lines and the
implementation-by-LLM lineage; signature unchanged so callers in
\`Suggest\` are untouched.

Requires OCaml 5.4 (PR #6006).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Now that 5.4 is the floor, the wrapper around \`String.edit_distance\`
is redundant — the single call site in \`Suggest\` uses the stdlib
function directly. Removes the wrapper, its mli, and one indirection.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Comment thread nix/moc.js.nix
pkgs.nodejs
pkgs.nodePackages.terser
pkgs.nodejs-slim
# pkgs.nodePackages.terser
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# pkgs.nodePackages.terser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant