From af68b5e63ccceae5f3cb29d8fec5521f534b02f1 Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Mon, 25 Aug 2025 15:01:50 +1000 Subject: [PATCH] add flake.nix --- flake.nix | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 flake.nix diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..e2e0104 --- /dev/null +++ b/flake.nix @@ -0,0 +1,39 @@ +{ + description = "DWL Development Shell"; + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05"; + }; + + outputs = {nixpkgs, ...}: let + system = "x86_64-linux"; + in { + devShells."${system}".default = let + pkgs = import nixpkgs { + inherit system; + }; + in + pkgs.mkShell { + packages = with pkgs; [ + # NativeBuildInputs + installShellFiles + pkg-config + wayland-scanner + + # BuildInputs + libinput + libxcb + libxkbcommon + pixman + wayland + wayland-protocols + wlroots + + # XWayland + libX11 + xcbutilwm + xwayland + ]; + }; + }; +}