pythonPackages: Implement overlay infrastructure
Accumulate overlays in pythonOverrides attribute and then apply them just once to base python packages. https://github.com/NixOS/nixpkgs/issues/44426
This commit is contained in:
@@ -7,4 +7,11 @@
|
||||
|
||||
self: super: pkgs: with pkgs; {
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/issues/44426
|
||||
python27 = super.python27.override { packageOverrides = pythonOverrides; };
|
||||
python34 = super.python34.override { packageOverrides = pythonOverrides; };
|
||||
python35 = super.python35.override { packageOverrides = pythonOverrides; };
|
||||
python36 = super.python36.override { packageOverrides = pythonOverrides; };
|
||||
|
||||
pythonOverrides = import ./python-packages.nix pkgs;
|
||||
}
|
||||
|
||||
3
temporary/python-packages.nix
Normal file
3
temporary/python-packages.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
pkgs: self: super: with self; {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user