Skip to content

mjolnir: 1.5.0 -> 1.6.4#231880

Closed
r-ryantm wants to merge 1 commit intoNixOS:masterfrom
r-ryantm:auto-update/mjolnir
Closed

mjolnir: 1.5.0 -> 1.6.4#231880
r-ryantm wants to merge 1 commit intoNixOS:masterfrom
r-ryantm:auto-update/mjolnir

Conversation

@r-ryantm
Copy link
Contributor

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.

meta.description for mjolnir is: A moderation tool for Matrix

meta.homepage for mjolnir is: https://github.com/matrix-org/mjolnir

Updates performed
  • Ran passthru.UpdateScript
To inspect upstream changes
Impact
Checks done (click to expand)
  • built on NixOS
  • Warning: a test defined in passthru.tests did not pass
  • found 1.6.4 with grep in /nix/store/hda9ic3a8zs8ggiz3r82yg03j7y57fzm-mjolnir-1.6.4
  • found 1.6.4 in filename of file in /nix/store/hda9ic3a8zs8ggiz3r82yg03j7y57fzm-mjolnir-1.6.4

Rebuild report (if merged into master) (click to expand)
1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
mjolnir
Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/hda9ic3a8zs8ggiz3r82yg03j7y57fzm-mjolnir-1.6.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.

Or, build yourself:

nix-build -A mjolnir https://github.com/r-ryantm/nixpkgs/archive/4f93047582fc2e18f3c6c3693df8af0e7c84734d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/hda9ic3a8zs8ggiz3r82yg03j7y57fzm-mjolnir-1.6.4
ls -la /nix/store/hda9ic3a8zs8ggiz3r82yg03j7y57fzm-mjolnir-1.6.4/bin


Pre-merge build results

We have automatically built all packages that will get rebuilt due to
this change.

This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.

Result of nixpkgs-review run on x86_64-linux 1

1 package built:
  • mjolnir

Maintainer pings

cc @jojosch for testing.

@ofborg ofborg bot requested a review from jojosch May 14, 2023 17:25
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels May 14, 2023
@NickCao
Copy link
Member

NickCao commented May 15, 2023

The change requires some update to the module, namely in configuration file handling, introduced in https://github.com/matrix-org/mjolnir/releases/tag/v1.6.1

@NickCao
Copy link
Member

NickCao commented May 15, 2023

And it fails to launch:

/nix/store/m8nh9z6xg6ny7pcl9z1g0v6ayf2szpwc-node-dependencies-mjolnir-1.6.3/lib/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/index.js:250
    throw loadError
    ^

Error: Cannot find module '@matrix-org/matrix-sdk-crypto-nodejs-linux-x64-gnu'

@wegank wegank closed this May 16, 2023
@r-ryantm r-ryantm deleted the auto-update/mjolnir branch May 16, 2023 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants