fix: nix build by adding missing dependencies and fix outputHashes (#11185)
Fixes #11020 I do think think `nix build` should run in CI, I had multiple issues trying to build the flake in the past, as it's continuously out of sync with the rest of the repo. (like a few days ago I didn't need the updated outputHashes, just the missing packages). Co-authored-by: Eric Traut <etraut@openai.com>
This commit is contained in:
parent
d65f09b913
commit
c9271cdff2
1 changed files with 8 additions and 3 deletions
|
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
cmake,
|
||||
llvmPackages,
|
||||
openssl,
|
||||
rustPlatform,
|
||||
pkg-config,
|
||||
|
|
@ -15,8 +17,11 @@ rustPlatform.buildRustPackage (_: {
|
|||
doCheck = false;
|
||||
src = ./.;
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
cmake
|
||||
llvmPackages.clang
|
||||
llvmPackages.libclang.lib
|
||||
openssl
|
||||
pkg-config
|
||||
];
|
||||
|
||||
cargoLock.outputHashes = {
|
||||
|
|
@ -25,8 +30,8 @@ rustPlatform.buildRustPackage (_: {
|
|||
"nucleo-0.5.0" = "sha256-Hm4SxtTSBrcWpXrtSqeO0TACbUxq3gizg1zD/6Yw/sI=";
|
||||
"nucleo-matcher-0.3.1" = "sha256-Hm4SxtTSBrcWpXrtSqeO0TACbUxq3gizg1zD/6Yw/sI=";
|
||||
"runfiles-0.1.0" = "sha256-uJpVLcQh8wWZA3GPv9D8Nt43EOirajfDJ7eq/FB+tek=";
|
||||
"tokio-tungstenite-0.28.0" = "sha256-vJZ3S41gHtRt4UAODsjAoSCaTksgzCALiBmbWgyDCi8=";
|
||||
"tungstenite-0.28.0" = "sha256-CyXZp58zGlUhEor7WItjQoS499IoSP55uWqr++ia+0A=";
|
||||
"tokio-tungstenite-0.28.0" = "sha256-hJAkvWxDjB9A9GqansahWhTmj/ekcelslLUTtwqI7lw=";
|
||||
"tungstenite-0.27.0" = "sha256-AN5wql2X2yJnQ7lnDxpljNw0Jua40GtmT+w3wjER010=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue