1
0
Fork 1
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:
stuebinm 2023-03-26 17:25:12 +02:00
parent a983cc62cc
commit 230d506073

View file

@ -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;