fix build

This commit is contained in:
cy 2025-04-16 12:42:44 -04:00
parent a771785352
commit 84bbe5dcb4
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
10 changed files with 147 additions and 135 deletions

View file

@ -22,6 +22,7 @@
};
toolchain = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
craneLib = (crane.mkLib pkgs).overrideToolchain(_: toolchain);
lib = pkgs.lib;
in
{
devShells.default = pkgs.mkShell {
@ -29,9 +30,12 @@
pkg-config
];
buildInputs = with pkgs; [
openssl
toolchain
openssl
nix
boost
];
NIX_INCLUDE_PATH = "${lib.getDev pkgs.nix}/include";
};
packages.default = craneLib.buildPackage {