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:
parent
4ccaa7de8e
commit
a8f54972f4
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue