aboutsummaryrefslogtreecommitdiffhomepage
path: root/flake.nix
diff options
context:
space:
mode:
authorMihai Fufezan <[email protected]>2022-07-08 18:34:23 +0300
committerMihai Fufezan <[email protected]>2022-07-08 18:34:23 +0300
commita7a3c0fc1d7087e3b1b51167a6c985b14cf04e82 (patch)
treed083b6212e16b2bc726157ecf7742520f20052cb /flake.nix
parentc8c5e0b90a950bb20c5be5b1c1009889d8540529 (diff)
downloadHyprland-a7a3c0fc1d7087e3b1b51167a6c985b14cf04e82.tar.gz
Hyprland-a7a3c0fc1d7087e3b1b51167a6c985b14cf04e82.zip
nix: add devShell
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index e7ec284c..0fa5fcfb 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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;