From 920c3c70d20e58b4af5a7abe52b24f47b90bc575 Mon Sep 17 00:00:00 2001 From: William McKinnon Date: Mon, 17 Jul 2023 19:49:05 -0400 Subject: updated flake --- flake.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 4df374b..503394e 100644 --- a/flake.nix +++ b/flake.nix @@ -25,23 +25,23 @@ in { default = pkgs.mkShell { name = "scenefx-shell"; + + inputsFrom = [ pkgs.wlroots_0_16 ]; + nativeBuildInputs = with pkgs; [ cmake meson ninja scdoc pkg-config - - wayland - wayland-scanner - 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