mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 06:25:58 +01:00
nix: add devShell
This commit is contained in:
parent
c8c5e0b90a
commit
a7a3c0fc1d
2 changed files with 11 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -12,6 +12,7 @@ _deps
|
|||
build/
|
||||
result
|
||||
/.vscode/
|
||||
.envrc
|
||||
|
||||
*.o
|
||||
*-protocol.c
|
||||
|
|
10
flake.nix
10
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;
|
||||
|
|
Loading…
Reference in a new issue