commit 31ff6d560636cf3b71fda8b0bf49855a81e3cf62 (tree) parent a4f385c2f7385055b7825f04edd9c2b8c504cf70 Author: Motiejus Jakštys <motiejus@jakstys.lt> Date: Sun, 25 Feb 2024 22:52:57 +0200 django5: make it quicker to build Diffstat:
| M | overlays/django5.nix | | | 7 | ++++++- |
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/overlays/django5.nix b/overlays/django5.nix @@ -1,7 +1,12 @@ _: prev: { python3 = prev.python3.override { packageOverrides = _: python-prev: { - django = python-prev.django_5; + # when used from a different flake (motiejus/config) on x86_64-linux + # (vno1-oh2) when cross-compiling to aarch64-linux build (fra1-a), + # it would not use cache. I wasn't sure at the time if the package + # was cached altogether. But disabling tests made it build reasonably + # quickly when cross-compiling too. + django = python-prev.django_5.overridePythonAttrs {doCheck = false;}; }; }; }