fix build
This commit is contained in:
parent
a771785352
commit
84bbe5dcb4
10 changed files with 147 additions and 135 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue