diff options
author | William McKinnon <[email protected]> | 2022-04-26 21:38:47 -0400 |
---|---|---|
committer | William McKinnon <[email protected]> | 2022-04-26 21:38:47 -0400 |
commit | ccda4dae0f9b77b9760d6fdf178e0f0e2571cde0 (patch) | |
tree | 9713304eb9cf1bdb98cbf153c75be7a8100ff756 | |
parent | f6aac41efee81c3edfda14be8ddb375827c81d9e (diff) |
added nix shell
-rw-r--r-- | shell.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix new file mode 100644 index 00000000..4ccc1cb9 --- /dev/null +++ b/shell.nix @@ -0,0 +1,25 @@ +let + unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz; + pkgs = import <nixpkgs> {}; + unstable = import unstableTarball {}; + + shell = pkgs.mkShell { + depsBuildBuild = with unstable; [ + pkg-config + ]; + + nativeBuildInputs = with unstable; [ + cmake meson ninja pkg-config wayland-scanner scdoc + ]; + + buildInputs = with unstable; [ + 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 + ]; + }; +in shell |