From 3035752d008d5f9b6c4935f44fe603a550d58451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 27 Jun 2025 13:33:49 +0200 Subject: [PATCH] select: disable remote building and substitution this should make things faster since the derivation itself is trivial. --- pkgs/clan-cli/clan_lib/flake/flake.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/clan-cli/clan_lib/flake/flake.py b/pkgs/clan-cli/clan_lib/flake/flake.py index c9dd281ca..b84cd07e4 100644 --- a/pkgs/clan-cli/clan_lib/flake/flake.py +++ b/pkgs/clan-cli/clan_lib/flake/flake.py @@ -781,6 +781,13 @@ class Flake: ] )} ]; + + # We can always build this derivation locally, since /bin/sh is system independent, + # remote builders would introduce needless overhead. + preferLocalBuild = true; + # Save the roundtrip to check the binary caches for trival substitutions + allowSubstitutes = false; + passAsFile = [ "result" ]; system = "{config["system"]}"; builder = "/bin/sh";