Skip to content

Commit b4b1d9c

Browse files
committed
flake.nix: add missing Linera dependencies
1 parent f887033 commit b4b1d9c

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

flake.nix

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,29 +28,31 @@
2828
inputsFrom = [
2929
config.treefmt.build.devShell
3030
];
31-
31+
3232
buildInputs = with pkgs; [
3333
# Frontend dependencies
3434
nodejs
3535
pnpm
36-
36+
3737
# Rust toolchain from rust-toolchain.toml
3838
(rust-bin.fromRustupToolchainFile ./rust-toolchain.toml)
39-
40-
# Build tools
39+
40+
# Linera dependencies
4141
pkg-config
4242
openssl
4343
protobuf
44-
44+
libclang
45+
4546
# Deployment tools
4647
google-cloud-sdk
47-
48+
4849
# Development tools
4950
jq
5051
];
51-
52+
5253
shellHook = ''
5354
export PATH=$PWD/target/debug:$PATH
55+
export LIBCLANG_PATH="${pkgs.libclang.lib}/lib"
5456
echo "Game of Life Challenge development environment"
5557
echo "- Frontend: cd frontend && pnpm install && pnpm build"
5658
echo "- Backend: cargo build"
@@ -66,4 +68,4 @@
6668
};
6769
};
6870
};
69-
}
71+
}

0 commit comments

Comments
 (0)