diff options
author | Mihai Fufezan <[email protected]> | 2022-07-08 18:34:23 +0300 |
---|---|---|
committer | Mihai Fufezan <[email protected]> | 2022-07-08 18:34:23 +0300 |
commit | a7a3c0fc1d7087e3b1b51167a6c985b14cf04e82 (patch) | |
tree | d083b6212e16b2bc726157ecf7742520f20052cb | |
parent | c8c5e0b90a950bb20c5be5b1c1009889d8540529 (diff) | |
download | Hyprland-a7a3c0fc1d7087e3b1b51167a6c985b14cf04e82.tar.gz Hyprland-a7a3c0fc1d7087e3b1b51167a6c985b14cf04e82.zip |
nix: add devShell
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | flake.nix | 10 |
2 files changed, 11 insertions, 0 deletions
@@ -12,6 +12,7 @@ _deps build/ result /.vscode/ +.envrc *.o *-protocol.c @@ -48,6 +48,16 @@ default = self.packages.${system}.hyprland; }); + devShells = genSystems (system: { + default = pkgsFor.${system}.mkShell.override {stdenv = pkgsFor.${system}.gcc12Stdenv;} { + name = "hyprland-shell"; + inputsFrom = [ + self.packages.${system}.wlroots-hyprland + self.packages.${system}.hyprland + ]; + }; + }); + formatter = genSystems (system: pkgsFor.${system}.alejandra); nixosModules.default = import ./nix/module.nix self; |