pushing for review

This commit is contained in:
specCon18 2024-02-22 15:37:55 -05:00
parent 620b4b3de4
commit b1d7569150
19 changed files with 3742 additions and 228 deletions

View file

@ -5,6 +5,8 @@ pkgs.rustPlatform.buildRustPackage rec {
version = "1.0.0";
cargoLock.lockFile = ../Cargo.lock;
src = pkgs.lib.cleanSource ../.;
buildInputs = [ ];
buildInputs = with pkgs; [
surrealdb
];
# doCheck = false;
}

View file

@ -1,17 +1,26 @@
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell {
# Get dependencies from the main package
inputsFrom = [ (pkgs.callPackage ./default.nix { }) ];
# Additional tooling
buildInputs = with pkgs; [
cargo
cargo-watch
rustc
rustup
clippy
rust-analyzer
pkg-config
bacon
nodePackages_latest.pnpm
let
runtimeLibs = [
pkgs.libclang
pkgs.rocksdb
];
}
in
pkgs.mkShell {
# Get dependencies from the main package
inputsFrom = [ (pkgs.callPackage ./default.nix { }) ];
# Additional tooling
buildInputs = with pkgs; [
cargo
cargo-watch
rustc
rustup
clippy
rust-analyzer
pkg-config
bacon
nodePackages_latest.pnpm
surrealdb
libclang
];
LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath runtimeLibs}";
}