Skip to content

Commit

Permalink
flake: Use wheel 0.45.1 to workaround a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
OatmealDome committed Dec 18, 2024
1 parent c3b70e4 commit 96a1285
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 96a1285

Please sign in to comment.