From 2388e30bd5ef01ab67d6be769743da3e830f59c4 Mon Sep 17 00:00:00 2001 From: Shinyzenith Date: Tue, 11 Jul 2023 18:07:26 +0530 Subject: libscenefx and tinywl compilation success Signed-off-by: Shinyzenith --- flake.nix | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index a6b50a6..4df374b 100644 --- a/flake.nix +++ b/flake.nix @@ -19,33 +19,29 @@ }; targetSystems = [ "aarch64-linux" "x86_64-linux" ]; - in - { + in { devShells = nixpkgs.lib.genAttrs targetSystems (system: - let - pkgs = pkgsFor system; - in - { + let pkgs = pkgsFor system; + in { default = pkgs.mkShell { name = "scenefx-shell"; - depsBuildBuild = with pkgs; [ pkg-config ]; - inputsFrom = [ pkgs.wlroots_0_16 ]; - nativeBuildInputs = with pkgs; [ cmake meson ninja + scdoc pkg-config + + wayland wayland-scanner - scdoc + wayland-protocols + wlroots_0_16 hwdata + udev + pixman + libxkbcommon + libdrm ]; - -# shellHook = with pkgs; ''( -# mkdir -p "$PWD/subprojects" -# cd "$PWD/subprojects" -# cp -R --no-preserve=mode,ownership ${wlroots_0_16.src} wlroots -# )''; }; }); }; -- cgit v1.2.3