File tree Expand file tree Collapse file tree 3 files changed +25
-4
lines changed
Expand file tree Collapse file tree 3 files changed +25
-4
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " glimpse"
3- version = " 0.6.10 "
3+ version = " 0.7.0 "
44edition = " 2021"
55description = " A blazingly fast tool for peeking at codebases. Perfect for loading your codebase into an LLM's context."
66license = " MIT"
Original file line number Diff line number Diff line change 1818 {
1919 packages . default = pkgs . rustPlatform . buildRustPackage {
2020 pname = "glimpse" ;
21- version = "0.6.10 " ;
21+ version = "0.7.0 " ;
2222
2323 src = ./. ;
2424
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"
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 ) ;
You can’t perform that action at this time.
0 commit comments