Skip to content

Commit c95f553

Browse files
committed
devenv: Add deps for iced
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 4f25cfe commit c95f553

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

devenv.nix

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,27 @@
11
{ pkgs, lib, config, inputs, ... }:
22

3-
{
3+
rec {
44
packages = with pkgs; [
55
systemd # libudev
66
# For UEFI building and testing
77
parted
88
gnumake
99
qemu
10+
# For framework_gui (iced)
11+
xorg.libX11
12+
xorg.libXcursor
13+
xorg.libXrandr
14+
xorg.libXi
15+
xorg.libxcb
16+
libxkbcommon
17+
vulkan-loader
18+
wayland
1019
];
1120

21+
enterShell = ''
22+
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${builtins.toString (pkgs.lib.makeLibraryPath packages)}";
23+
'';
24+
1225
languages.rust = {
1326
enable = true;
1427
targets = [ "x86_64-unknown-uefi" ];

0 commit comments

Comments
 (0)