Skip to content

Commit 261ea2b

Browse files
committed
overrides: Add override for wheel when building from source
1 parent 036d8fb commit 261ea2b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

overrides.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,13 +1297,15 @@ self: super:
12971297
format = "wheel";
12981298
};
12991299
# If "wheel" is built from source
1300-
sourcePackage = (
1300+
sourcePackage = ((
13011301
pkgs.python3.pkgs.override {
13021302
python = self.python;
13031303
}
13041304
).wheel.override {
13051305
inherit (self) buildPythonPackage bootstrapped-pip setuptools;
1306-
};
1306+
}).overrideAttrs (old: {
1307+
inherit (super.wheel) pname name version src;
1308+
});
13071309
in
13081310
if isWheel then wheelPackage else sourcePackage;
13091311

0 commit comments

Comments
 (0)