blob: c6b326e15eeac0cb6cc97f32e9454410c401403f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
cmake
ninja
pkg-config
git
rustc
cargo
];
buildInputs = with pkgs; [
# Qt 6
qt6.qtbase
qt6.wrapQtAppsHook
qt6.qtwebengine
qt6.qtwebsockets
qt6.qtsvg
qt6.qtwayland
# Python (pybind11 installed via pip in shellHook to pin version)
python313
python313Packages.pip
python313Packages.sip
python313Packages.pyqt6
# Libraries
boost
sqlite
tinyxml-2
fontconfig
spdlog
fuse3
libcap
lz4
zlib
zstd
bzip2
xz
openssl
curl
tomlplusplus
fmt
];
shellHook = ''
# Pin pybind11 to 2.13.6 (must match Docker build for ABI compat)
pip install --quiet pybind11==2.13.6 2>/dev/null || true
export CMAKE_PREFIX_PATH="${pkgs.qt6.qtbase}:${pkgs.qt6.qtwebengine}:${pkgs.qt6.qtwebsockets}:${pkgs.qt6.qtsvg}:$CMAKE_PREFIX_PATH"
'';
}
|