Commit 230d5060 authored by stuebinm's avatar stuebinm
Browse files

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.
parent a983cc62
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;