65
flake.nix
Normal file
65
flake.nix
Normal file
@@ -0,0 +1,65 @@
|
||||
{
|
||||
description = "LunarWM is a VR-based Wayland compositor";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs =
|
||||
{
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (
|
||||
system:
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
system = system;
|
||||
config.cudaSupport = true;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
in
|
||||
{
|
||||
devShells.default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
pkg-config
|
||||
cmake
|
||||
ninja
|
||||
clang-tools
|
||||
lldb
|
||||
|
||||
# For wlroots
|
||||
libxkbcommon
|
||||
libdrm
|
||||
xorg.libxcb
|
||||
pixman
|
||||
libgbm
|
||||
vulkan-loader
|
||||
lcms2
|
||||
seatd
|
||||
libdisplay-info
|
||||
libliftoff
|
||||
libinput
|
||||
xorg.xcbutilrenderutil
|
||||
xorg.xcbutilwm
|
||||
xorg.xcbutilerrors
|
||||
|
||||
wlroots
|
||||
libffi
|
||||
wayland
|
||||
wayland-scanner
|
||||
wayland-protocols
|
||||
|
||||
openxr-loader
|
||||
libGL
|
||||
glm
|
||||
xorg.libX11
|
||||
xorg.libXau
|
||||
xorg.libXdmcp
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user