From 31ff6d560636cf3b71fda8b0bf49855a81e3cf62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sun, 25 Feb 2024 22:52:57 +0200 Subject: [PATCH] django5: make it quicker to build --- overlays/django5.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/overlays/django5.nix b/overlays/django5.nix index 78a5d6c..6488fe9 100644 --- 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;}; }; }; }