1
0
mirror of synced 2024-11-05 09:49:16 +00:00
MassiveKnob/Linux/shell.nix
Mark van Renswoude dced5cba03 Refactoring
Trying to find nice coding patterns as I'm learning Rust
2024-08-12 09:20:27 +02:00

15 lines
423 B
Nix

{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
pkg-config
gtk4
graphene
gdk-pixbuf
libudev-zero
];
# 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";
}