-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
38 lines (31 loc) · 944 Bytes
/
Copy pathshell.nix
File metadata and controls
38 lines (31 loc) · 944 Bytes
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
{
pkgs ? import <nixpkgs> { },
}:
let
runtimeDeps = with pkgs; [
gtk4
libadwaita
gobject-introspection
portaudio
libsecret # gi.repository.Secret (keyring access)
# Typography for the overlay. The transcript is the product, so the
# serif is a hard dependency, not a nicety — without Source Serif 4
# the text falls back to DejaVu Serif and the design reads wrong.
source-serif # transcript (OFL)
ibm-plex # micro-labels in the guidance popover
];
devDeps = with pkgs; [
python313 # match Nix package; PyGObject 3.56 + Python 3.14 breaks constructors
pkg-config # build-time
wl-clipboard # manual testing (wl-copy)
dotool # key/mouse simulation
];
in
pkgs.mkShell {
name = "voxize-dev-shell";
packages = runtimeDeps ++ devDeps;
NIX_LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath runtimeDeps;
shellHook = ''
export LD_LIBRARY_PATH="$NIX_LD_LIBRARY_PATH"
'';
}