Skip to content

Conversation

@r-ryantm
Copy link
Contributor

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/rust-lang/mdBook/releases.

meta.description for mdbook is: Create books from MarkDown

meta.homepage for mdbook is: https://github.com/rust-lang/mdBook

meta.changelog for mdbook is: https://github.com/rust-lang/mdBook/blob/v0.5.0/CHANGELOG.md

Updates performed
  • Rust version update
To inspect upstream changes
Impact

Checks done


  • built on NixOS

Caution

A test defined in passthru.tests did not pass.

  • found 0.5.0 with grep in /nix/store/wdqpvr5p7jv4jf3zavbimps86idwp3ba-mdbook-0.5.0
  • found 0.5.0 in filename of file in /nix/store/wdqpvr5p7jv4jf3zavbimps86idwp3ba-mdbook-0.5.0

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

233 package rebuild(s)

First fifty rebuilds by attrpath

aba
appvm
attic-client
bundix
cabal2nix
cached-nix-shell
cachix
catppuccin-cursors
catppuccin-sddm
celeste
chirpstack-concentratord
colmena
comma
common-updater-scripts
corto
cosmic-applets
cosmic-applibrary
cosmic-bg
cosmic-comp
cosmic-design-demo
cosmic-edit
cosmic-ext-applet-caffeine
cosmic-ext-applet-external-monitor-brightness
cosmic-ext-calculator
cosmic-ext-tweaks
cosmic-files
cosmic-greeter
cosmic-icons
cosmic-idle
cosmic-initial-setup
cosmic-launcher
cosmic-notifications
cosmic-osd
cosmic-panel
cosmic-player
cosmic-randr
cosmic-reader
cosmic-screenshot
cosmic-session
cosmic-settings
cosmic-store
cosmic-term
cosmic-workspaces-epoch
crate2nix
crush
devenv
dhall-nix
dhall-nixpkgs
disko
Instructions to test this update (click to expand)

Either download from the cache:

nix-store -r /nix/store/wdqpvr5p7jv4jf3zavbimps86idwp3ba-mdbook-0.5.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
  --option trusted-public-keys '
  nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The nixpkgs-update cache is only trusted for this store-path realization.)
For the cached 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 mdbook https://github.com/r-ryantm/nixpkgs/archive/6fa31e1e28eed8af11a7a19c49f6d071564d250b.tar.gz

Or:

nix build github:r-ryantm/nixpkgs/6fa31e1e28eed8af11a7a19c49f6d071564d250b#mdbook

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

ls -la /nix/store/wdqpvr5p7jv4jf3zavbimps86idwp3ba-mdbook-0.5.0
ls -la /nix/store/wdqpvr5p7jv4jf3zavbimps86idwp3ba-mdbook-0.5.0/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.

⚠️ nixpkgs-review took longer than 180m and timed out


Maintainer pings

cc @Frostman @matthiasbeyer for testing.

Tip

As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.


Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". labels Nov 18, 2025
@zowoq zowoq changed the base branch from master to staging-nixos November 18, 2025 05:19
@nixpkgs-ci nixpkgs-ci bot closed this Nov 18, 2025
@nixpkgs-ci nixpkgs-ci bot reopened this Nov 18, 2025
@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Nov 18, 2025
@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Nov 19, 2025
@pyrox0 pyrox0 added this pull request to the merge queue Nov 24, 2025
Merged via the queue into NixOS:staging-nixos with commit 9389de2 Nov 24, 2025
59 of 62 checks passed
@zowoq
Copy link
Contributor

zowoq commented Nov 24, 2025

mdbook fails to build because the patch from #459172 wasn't removed.

After removing the patch the nix manual then fails to build.

@r-ryantm r-ryantm deleted the auto-update/mdbook branch November 25, 2025 00:34
@nikstur
Copy link
Contributor

nikstur commented Nov 26, 2025

Nix and Lix builds are broken with the 0.5 version.

See NixOS/nix#14628 and https://git.lix.systems/lix-project/lix/issues/1051

I suggest we revert as I see no other quick path to a working system.

@Helle-Daryd
Copy link

For Lix https://git.lix.systems/lix-project/lix/issues/1051 has been fixed in https://git.lix.systems/lix-project/lix/commit/54df89f601b3b4502a5c99173c9563495265d7e7

This allows building of Lix with any version of mdbook between 0.4.52 and 0.5.1 inclusive.

@nikstur
Copy link
Contributor

nikstur commented Nov 27, 2025

We will almost certainly need to introduce a mdbook_0_5 variant because we build old Nix versions that would otherwise break. Thus we need to keep mdbook_0_4 around at least for the next 4 Nix releases unless Nix backports the change to their old versions.

@roberth
Copy link
Member

roberth commented Dec 10, 2025

Since at least the mermaid plugin is currently out of sync with the mdbook version, it would be good to move this forward.

I've opened #467009 including patches, for now, because iiuc the Nix team is about to make releases.

I saw that the Lix patches also haven't quite made it into Nixpkgs yet.

If it's useful, here's what I got:

$ nix-build -A lix
[...]
--- stderr ---
 INFO Book building has started
python3: can't open file '/build/source/doc/manual/doc/manual/substitute.py': [Errno 2] No such file or directory
jq: Could not open doc/manual/anchors.jq: No such file or directory
 WARN Error writing the RenderContext to the backend, Broken pipe (os error 32)
ERROR The "anchors" preprocessor exited unsuccessfully with exit status: 2 status

ninja: build stopped: subcommand failed.
error: Cannot build '/nix/store/a0zbgkbhb7gripzdkgn79kbgdx7qz45m-lix-2.93.3.drv'

It seems practical to move the conversation to #467009

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

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants