select: disable remote building and substitution

this should make things faster since the derivation itself is trivial.
This commit is contained in:
Jörg Thalheim
2025-06-27 13:33:49 +02:00
parent 0799c72095
commit 3035752d00

View File

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