XOrg package isn't updated

I’m trying to build my Xarcan overlay. When I try to build it I get an error message

$ home-manager switch
[...]
Found pkg-config: /nix/store/96g3h5kipmvdsfw7ipn1sq7myb8rpn5g-pkg-config-wrapper-0.29.2/bin/pkg-config (0.29.2)
Run-time dependency xproto found: YES 7.0.33
Run-time dependency randrproto found: YES 1.6.0
Run-time dependency renderproto found: YES 0.11.1
Run-time dependency xextproto found: YES 7.3.0
Dependency inputproto found: NO found 2.3.2 but need: '>= 2.3.99.1'
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency inputproto found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency inputproto

meson.build:76:0: ERROR: Neither a subproject directory nor a xorgproto.wrap file was found.

A full log can be found at /build/source/build/meson-logs/meson-log.txt
builder for '/nix/store/cwqz9s0404z2snsjrjjna2sw2h2vq0pj-xarcan-0.6.0+unstable=2021-08-26.drv' failed with exit code 1
cannot build derivation '/nix/store/0cpmplxfn5ff8g5rhp8gkncfs1b4nvcy-durden-0.6.1+unstable=2021-07-11.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/i5a0zszl4nb20pcwdq3bg7ynj8hjp7x5-pipeworld-0.0.0+unstable=2021-08-01.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/25vasqc8zglygd1qmds1x308abh7v9qq-home-manager-path.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/a1g7dfgh8dhss31in8j17zvnkxrpljk4-home-manager-generation.drv': 1 dependencies couldn't be built
error: build of '/nix/store/a1g7dfgh8dhss31in8j17zvnkxrpljk4-home-manager-generation.drv' failed

saying that Meson could find version 2.3.2 of inputproto, but version 2.3.99.1 is required. This updated requirement was introduced to the package in this commit. The developer of that commit is not the same as the Xarcan developer (I guess he merged that commit from upstream).

The Xarcan developer told me on the project’s Discord channel that the source repository for inputproto is hosted on Freedesktop’s Gitlab instance. The latest tagged version of xorgproto is version 2021.4.99.2, done on May 30th.

@Arteneko on Matrix helped me run the Perl script as described in the Nixpkgs’ manual for updating XOrg (apparently my Thinkpad X230 isn’t enough for that task). But according to her no changes was made to the tarballs.list file in the end (git diff doesn’t return any changes). The current version of the tarballs.list file lists inputproto version 2021.4.

So why isn’t the 2021.4.99.2 tarball added to the list?

can you do nix-channel --list

I suspect you’re following an older channel

We where running it on a fresh install of NixOS 21.05 with the 21.05 channel. We changed the channel

$ nix-channel --list
nixos https://nixos.org/channels/nixos-unstable

and rebuilt NixOS. After that we ran the Perl script again, with the same result. No diff.

EDIT: Forgot to mention that we used the script available in the Nixpkgs’ nixos-unstable branch.