0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-12 05:16:25 +03:00

python docs: improve overlay example

The `pythonPackages` definition is redundant
This commit is contained in:
Erik Arvstedt 2018-07-25 16:34:49 +02:00
parent 4ccaa7de8e
commit a8f54972f4

View file

@ -1032,7 +1032,7 @@ self: super:
{ {
python = super.python.override { python = super.python.override {
packageOverrides = python-self: python-super: { packageOverrides = python-self: python-super: {
bepasty-server = python-super.bepasty-server.overrideAttrs ( oldAttrs: { bepasty-server = python-super.bepasty-server.overrideAttrs (oldAttrs: {
src = self.pkgs.fetchgit { src = self.pkgs.fetchgit {
url = "https://github.com/bepasty/bepasty-server"; url = "https://github.com/bepasty/bepasty-server";
sha256 = "9ziqshmsf0rjvdhhca55sm0x8jz76fsf2q4rwh4m6lpcf8wr0nps"; sha256 = "9ziqshmsf0rjvdhhca55sm0x8jz76fsf2q4rwh4m6lpcf8wr0nps";
@ -1041,7 +1041,6 @@ self: super:
}); });
}; };
}; };
pythonPackages = self.python.pkgs;
} }
``` ```