wayland-tutorial/flake.nix

31 lines
674 B
Nix
Raw Normal View History

2024-06-05 21:07:23 +02:00
{
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
2024-06-06 21:48:01 +02:00
cmake
ninja
libffi
2024-06-05 21:07:23 +02:00
imagemagick
wayland-scanner
wayland
];
};
};
});
}