Closed vytskalt closed 3 months ago
The arch expects aws arch so arm64 in this case. Usually it should be autodetected by omitting it though.
I had the same error without specifying arch
.
Ah sorry, it indeed should be aarch64. Will it work if you give your package a name?
Sorry for late reply. Giving the package a name and setting the meta.mainProgram
for my zig package fixed it. Thanks!
Hello, I have an AWS lambda function written in Zig and I want to use the lambda bundler provided by zig2nix. This is the relevant code of my flake.nix:
(minimal-skia.nix is essentially a modified version of this package with useless dependencies removed)
in my build.zig I'm doing something like:
But when trying to
nix build .#aws
I'm getting this error:What could I be doing wrong? Thanks