+5
spindle/engines/nixery/engine.go
+5
spindle/engines/nixery/engine.go
···
8
8
"log/slog"
9
9
"os"
10
10
"path"
11
+
"runtime"
11
12
"strings"
12
13
"sync"
13
14
"time"
···
142
143
143
144
// load defaults from somewhere else
144
145
dependencies = path.Join(dependencies, "bash", "git", "coreutils", "nix")
146
+
147
+
if runtime.GOARCH == "arm64" {
148
+
dependencies = path.Join("arm64", dependencies)
149
+
}
145
150
146
151
return path.Join(nixery, dependencies)
147
152
}