wayland-tutorial/flake.nix
2024-06-06 21:48:01 +02:00

30 lines
674 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
cmake
ninja
libffi
imagemagick
wayland-scanner
wayland
];
};
};
});
}