Ross A. Baker on Nostr: I use html5validator. Like many packages, it broke when nixpkgs unstable moved to ...
I use html5validator. Like many packages, it broke when nixpkgs unstable moved to Python 3.12:
> error: openstackdocstheme-3.2.0 not supported for interpreter python3.12
A crude but effective fix is just to override the python3 parameter to the package.
```nix
pkgs.html5validator.override { python3 = pkgs.python311; })
```
#Nix
Published at
2024-08-11 03:12:08Event JSON
{
"id": "2f4e7c36f1f4bac018d3cb5e769f8eaa1f263368de88696b7ff801aaaf1ca179",
"pubkey": "c08360c0d911bd8a814f791adeddaad7187e776ef771df962938b23a0209acae",
"created_at": 1723345928,
"kind": 1,
"tags": [
[
"t",
"nix"
],
[
"content-warning",
"Working around Nix packages broken by Python 3.12"
],
[
"proxy",
"https://social.rossabaker.com/users/ross/statuses/112941198737753029",
"activitypub"
]
],
"content": "I use html5validator. Like many packages, it broke when nixpkgs unstable moved to Python 3.12:\n\n\u003e error: openstackdocstheme-3.2.0 not supported for interpreter python3.12\n\nA crude but effective fix is just to override the python3 parameter to the package.\n\n```nix\npkgs.html5validator.override { python3 = pkgs.python311; })\n```\n\n#Nix",
"sig": "130c5ef70d6622bdfe616b48ad4ac606386fd9bbd49ef2a9695739f64219ec5b3640eef228fe5077209627fc8e4412687cfec75ef741f27c623ebcfe73a160d7"
}