mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
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
|
@ -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