Skip to content

Commit a763701

Browse files
committed
0.7.0
1 parent 7d2eb6a commit a763701

File tree

3 files changed

+25
-4
lines changed

3 files changed

+25
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "glimpse"
3-
version = "0.6.10"
3+
version = "0.7.0"
44
edition = "2021"
55
description = "A blazingly fast tool for peeking at codebases. Perfect for loading your codebase into an LLM's context."
66
license = "MIT"

flake.nix

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{
1919
packages.default = pkgs.rustPlatform.buildRustPackage {
2020
pname = "glimpse";
21-
version = "0.6.10";
21+
version = "0.7.0";
2222

2323
src = ./.;
2424

@@ -28,9 +28,17 @@
2828

2929
nativeBuildInputs = with pkgs; [
3030
pkg-config
31+
openssl
3132
];
3233

33-
buildInputs = with pkgs; [ ];
34+
buildInputs = with pkgs; [
35+
openssl
36+
darwin.apple_sdk.frameworks.Security
37+
darwin.apple_sdk.frameworks.SystemConfiguration
38+
] ++ lib.optionals stdenv.isDarwin [
39+
darwin.apple_sdk.frameworks.CoreFoundation
40+
darwin.apple_sdk.frameworks.CoreServices
41+
];
3442

3543
checkFlags = [
3644
"--skip=tokenizer::tests::test_hf_counter"
@@ -49,7 +57,20 @@
4957
buildInputs = with pkgs; [
5058
rust-bin.stable.latest.default
5159
pkg-config
60+
openssl
61+
darwin.apple_sdk.frameworks.Security
62+
darwin.apple_sdk.frameworks.SystemConfiguration
63+
] ++ lib.optionals stdenv.isDarwin [
64+
darwin.apple_sdk.frameworks.CoreFoundation
65+
darwin.apple_sdk.frameworks.CoreServices
5266
];
67+
68+
# Set OPENSSL_DIR for local development
69+
shellHook = ''
70+
export OPENSSL_DIR="${pkgs.openssl.dev}"
71+
export OPENSSL_INCLUDE_DIR="${pkgs.openssl.dev}/include"
72+
export OPENSSL_LIB_DIR="${pkgs.openssl.out}/lib"
73+
'';
5374
};
5475
}
5576
);

0 commit comments

Comments
 (0)