mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-26 01:31:54 -07:00
nix: add devShell
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -12,6 +12,7 @@ _deps
|
|||||||
build/
|
build/
|
||||||
result
|
result
|
||||||
/.vscode/
|
/.vscode/
|
||||||
|
.envrc
|
||||||
|
|
||||||
*.o
|
*.o
|
||||||
*-protocol.c
|
*-protocol.c
|
||||||
|
10
flake.nix
10
flake.nix
@@ -48,6 +48,16 @@
|
|||||||
default = self.packages.${system}.hyprland;
|
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);
|
formatter = genSystems (system: pkgsFor.${system}.alejandra);
|
||||||
|
|
||||||
nixosModules.default = import ./nix/module.nix self;
|
nixosModules.default = import ./nix/module.nix self;
|
||||||
|
Reference in New Issue
Block a user