Merge pull request 'select: disable remote building and substitution' (#4123) from speed-up-flake-select into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4123
This commit is contained in:
Mic92
2025-06-27 12:00:18 +00:00

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