diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-11-09 23:23:55 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-11-09 23:23:55 +0100 |
| commit | 70f8a81e49c16424670a204505dd7a0925fc8452 (patch) | |
| tree | a89111d835ca592bdbc73711327d0bf4fd77125b | |
| parent | modules/lf/keybindings: Change download dir cd to `gD` (diff) | |
| download | nixos-config-70f8a81e49c16424670a204505dd7a0925fc8452.zip | |
build.sh: Only build one thing at once
This prevents OOMs and other issues.
Diffstat (limited to '')
| -rwxr-xr-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh index 3cba8fc2..3a6cfb5b 100755 --- a/build.sh +++ b/build.sh @@ -33,7 +33,7 @@ check() { } build_system() { - _val="$(nix build ".#nixosConfigurations.$host.config.system.build.toplevel" --print-out-paths --no-link "$@")" + _val="$(nix build ".#nixosConfigurations.$host.config.system.build.toplevel" --print-out-paths --no-link --option max-jobs 1 "$@")" exit_val="$?" if [ "$exit_val" -ne 0 ]; then |
