fix(code-rs/nix): vendor git dependencies

This commit is contained in:
James Peter
2025-11-17 21:25:55 +10:00
parent 83ddadf3b7
commit 079f83373a
+12 -2
View File
@@ -9,9 +9,19 @@ rec {
inherit env;
pname = "code-rs";
version = "0.1.0";
cargoLock.lockFile = ./Cargo.lock;
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"mcp-types-0.0.0" = "sha256-BGpEuNXky7neVIQQHqyqRjoa/wemfp6zj+usJlkRN+g=";
"ratatui-0.29.0" = "sha256-HBvT5c8GsiCxMffNjJGLmHnvG77A6cqEL+1ARurBXho=";
};
};
doCheck = false;
src = ./.;
# The workspace depends on crates from ../codex-rs, so provide the
# entire monorepo as the source and point the builder back to this
# package's directory.
src = ../.;
sourceRoot = "${baseNameOf ../.}/${baseNameOf ./.}";
nativeBuildInputs = with pkgs; [
pkg-config
openssl