Failed System Update

Updating my system with “nix flake update” and then a rebuild (“sudo nixos-rebuild --flake .#My_Nix switch”) is generating an error.

error: builder for '/nix/store/06id3djagsbn7gxbf3vbqgibx3xbasj2-options.json.drv' failed with exit code 1;
       last 4 log lines:
       > Traceback (most recent call last):
       >   File "/nix/store/", line 66, in <module>
       >     class Renderer(mistune.renderers.BaseRenderer):
       > AttributeError: module 'mistune.renderers' has no attribute 'BaseRenderer'

This seems like a bug. How do I report it?

1 Like

The issue seems to be in NMD and its usage of mistune, so you need to look here:

ping @rycee

1 Like

I have the same issue using home-manager on macos.
All suggestions I found:

haven’t worked for me.

Unfortunately, I’m not so deep into nix, that I could fix it on my own. Therefore, it would be very appreciated if this could be fixed soon.

My nix configuration:
nix-shell -p nix-info --run "nix-info -m"

 - system: `"aarch64-darwin"`
 - host os: `Darwin 23.0.0, macOS 14.0`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.17.1`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`