mirror of
https://github.com/swaywm/sway.git
synced 2026-04-21 06:46:22 -04:00
added nix flake
This commit is contained in:
parent
4660771f6a
commit
c37aba2736
22 changed files with 76 additions and 1311 deletions
34
flake.nix
Normal file
34
flake.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
description = "swaywm development environment";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
|
||||
flake-utils = { url = "github:numtide/flake-utils"; };
|
||||
};
|
||||
|
||||
outputs = {self, nixpkgs, flake-utils }:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
|
||||
in {
|
||||
devShell = pkgs.mkShell {
|
||||
depsBuildBuild = with pkgs; [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
cmake meson ninja pkg-config wayland-scanner scdoc
|
||||
];
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
wayland libxkbcommon pcre json_c libevdev pango cairo libinput libcap pam gdk-pixbuf librsvg
|
||||
wayland-protocols libdrm wlroots dbus xwayland
|
||||
# wlroots
|
||||
libGL pixman xorg.xcbutilwm xorg.libX11 libcap xorg.xcbutilimage xorg.xcbutilerrors mesa
|
||||
libpng ffmpeg xorg.xcbutilrenderutil seatd
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue