aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFlafy <[email protected]>2022-12-04 19:58:45 +0200
committerGitHub <[email protected]>2022-12-04 19:58:45 +0200
commitea2ef63de5add88f61f4ef3f93734116f54ec085 (patch)
tree56883abd36bdc3fe0b06df8fc237dab97ba20e5c
parentd9998f2ca5c5f843e7a32b07527d2d90465988a2 (diff)
downloadHyprland-ea2ef63de5add88f61f4ef3f93734116f54ec085.tar.gz
Hyprland-ea2ef63de5add88f61f4ef3f93734116f54ec085.zip
nix: add cmake and wlroots to devshell (#1155)
-rw-r--r--flake.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index bd84bf02..c34d37c3 100644
--- a/flake.nix
+++ b/flake.nix
@@ -75,9 +75,15 @@
default = self.packages.${system}.hyprland;
});
- devShells = genSystems (system: {
+ devShells = genSystems (system: rec {
default = pkgsFor.${system}.mkShell.override {stdenv = pkgsFor.${system}.gcc12Stdenv;} {
name = "hyprland-shell";
+ nativeBuildInputs = with pkgsFor.${system}; [
+ cmake
+ ];
+ buildInputs = [
+ self.packages.${system}.wlroots-hyprland
+ ];
inputsFrom = [
self.packages.${system}.wlroots-hyprland
self.packages.${system}.hyprland