diff --git a/flake.nix b/flake.nix index 3196f00..fc39f9f 100644 --- a/flake.nix +++ b/flake.nix @@ -8,6 +8,22 @@ outputs = { self, nixpkgs, flake-utils, poetry2nix }: { overlay = nixpkgs.lib.composeManyExtensions [ + # Manually override wheel package to 0.45.1 until the change lands in nixos-24.11 + # https://github.com/NixOS/nixpkgs/pull/361930 + (self: super: rec { + python3 = super.python3.override { + packageOverrides = python-self: python-super: { + wheel = python-super.wheel.overridePythonAttrs (oldAttrs: rec { + version = "0.45.1"; + + src = oldAttrs.src.override { + rev = "refs/tags/0.45.1"; + hash = "sha256-tgueGEWByS5owdA5rhXGn3qh1Vtf0HGYC6+BHfrnGAs="; + }; + }); + }; + }; + }) poetry2nix.overlays.default (final: prev: { central = prev.poetry2nix.mkPoetryApplication {