fix: updated flake

This commit is contained in:
Will McKinnon 2023-03-18 01:59:12 -04:00
parent 9a0d2899a2
commit 474bfb460a

View file

@ -40,7 +40,7 @@
default = pkgs.mkShell { default = pkgs.mkShell {
name = "swayfx-shell"; name = "swayfx-shell";
depsBuildBuild = with pkgs; [ pkg-config ]; depsBuildBuild = with pkgs; [ pkg-config ];
inputsFrom = [ self.packages.${system}.swayfx-unwrapped pkgs.wlroots ]; inputsFrom = [ self.packages.${system}.swayfx-unwrapped pkgs.wlroots_0_16 ];
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
cmake cmake
@ -49,12 +49,13 @@
pkg-config pkg-config
wayland-scanner wayland-scanner
scdoc scdoc
hwdata # for wlroots
]; ];
shellHook = with pkgs; ''( shellHook = with pkgs; ''(
mkdir -p "$PWD/subprojects" mkdir -p "$PWD/subprojects"
cd "$PWD/subprojects" cd "$PWD/subprojects"
cp -R --no-preserve=mode,ownership ${wlroots.src} wlroots cp -R --no-preserve=mode,ownership ${wlroots_0_16.src} wlroots
)''; )'';
}; };
}); });