Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flake: Use pythonPackagesExtensions to override wheel version
Browse files Browse the repository at this point in the history
OatmealDome committed Dec 19, 2024
1 parent 96a1285 commit d0eaa3f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -10,19 +10,19 @@
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 {
(final: prev: {
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [
(python-final: python-prev: {
wheel = python-prev.wheel.overrideAttrs (oldAttrs: {
version = "0.45.1";

src = oldAttrs.src.override {
rev = "refs/tags/0.45.1";
hash = "sha256-tgueGEWByS5owdA5rhXGn3qh1Vtf0HGYC6+BHfrnGAs=";
};
});
};
};
})
];
})
poetry2nix.overlays.default
(final: prev: {

0 comments on commit d0eaa3f

Please sign in to comment.