Files
sims/nix/shell.nix
2026-05-04 00:00:11 +02:00

55 lines
956 B
Nix

{
pkgs ? import <nixpkgs> { },
}:
pkgs.mkShell {
name = "fabric-shell";
buildInputs = with pkgs; [
dbus
wayland-scanner
];
nativeBuildInputs = with pkgs; [
pkg-config
];
dbus = pkgs.dbus;
packages = with pkgs; [
ruff # Linter
basedpyright # Language server
# Required for Devshell
gtk3
gtk-layer-shell
cairo
gobject-introspection
libdbusmenu-gtk3
gdk-pixbuf
librsvg
gnome-bluetooth
cinnamon-desktop
wayland-scanner
wayland
wayland-protocols
playerctl
(python3.withPackages (
ps: with ps; [
setuptools
wheel
build
python-fabric
psutil
pywayland
python-lsp-server
pylsp-mypy
pyls-isort
python-lsp-ruff
pyyaml
platformdirs
]
))
];
shellHook = ''
export GDK_PIXBUF_MODULE_FILE=${pkgs.librsvg}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
'';
}