flake.nix: Fix naersk dependency build target

This commit is contained in:
Simon Bruder 2022-07-16 19:19:30 +02:00
parent 1aa6568516
commit 62c0b0968f
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -34,6 +34,9 @@
wasm-pack
];
# required, otherwise the dependencies are built for the host system
CARGO_BUILD_TARGET = "wasm32-unknown-unknown";
overrideMain = (o: o // {
buildPhase = ''
runHook preBuild