wayland-tutorial/flake.nix
2024-06-05 21:07:23 +02:00

27 lines
643 B
Nix

{
description = "Wayland dev environment";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachSystem flake-utils.lib.allSystems (system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells = {
default = pkgs.mkShell {
packages = with pkgs; [
pkg-config
imagemagick
wayland-scanner
wayland
wayland-protocol
];
};
};
});
}