2024-06-14 16:29:55 +00:00
|
|
|
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
pkgs.mkShell {
|
2024-08-12 07:20:27 +00:00
|
|
|
nativeBuildInputs = with pkgs; [
|
2024-06-14 16:29:55 +00:00
|
|
|
pkg-config
|
|
|
|
gtk4
|
|
|
|
graphene
|
|
|
|
gdk-pixbuf
|
2024-08-12 07:20:27 +00:00
|
|
|
libudev-zero
|
2024-06-14 16:29:55 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# For a reason I'm yet to find out, my VSCode terminal sets GDK_BACKEND to x11.
|
|
|
|
# This is empty in the regular terminal and I'm running wayland.
|
|
|
|
# Comment this out if it's causing issues for you.
|
|
|
|
GDK_BACKEND = "wayland";
|
|
|
|
}
|