nix: add cmake and wlroots to devshell (#1155)

This commit is contained in:
Flafy 2022-12-04 19:58:45 +02:00 committed by GitHub
parent d9998f2ca5
commit ea2ef63de5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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