netbox: workaround to allow python packageOverrides
see https://github.com/NixOS/nixpkgs/issues/44426 ("Python's packageOverrides isn't composable") for why this is a useful thing to do.
This commit is contained in:
parent
a983cc62cc
commit
230d506073
1 changed files with 3 additions and 3 deletions
|
@ -8,10 +8,10 @@
|
|||
, plugins ? ps: [] }:
|
||||
|
||||
let
|
||||
py = python3.override {
|
||||
packageOverrides = self: super: {
|
||||
py = python3 // {
|
||||
pkgs = python3.pkgs.overrideScope (self: super: {
|
||||
django = super.django_4;
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
extraBuildInputs = plugins py.pkgs;
|
||||
|
|
Loading…
Reference in a new issue