Skip to content

Commit

Permalink
fix: updated flake
Browse files Browse the repository at this point in the history
  • Loading branch information
WillPower3309 committed Mar 18, 2023
1 parent 9a0d289 commit 474bfb4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
default = pkgs.mkShell {
name = "swayfx-shell";
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; [
cmake
Expand All @@ -49,12 +49,13 @@
pkg-config
wayland-scanner
scdoc
hwdata # for wlroots
];

shellHook = with pkgs; ''(
mkdir -p "$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
)'';
};
});
Expand Down

0 comments on commit 474bfb4

Please sign in to comment.