diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2025-06-26 19:43:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-26 19:43:39 +0200 |
| commit | 3d6476c9021519995239ec93bbb11f0dce6c60a0 (patch) | |
| tree | 381edc199f4348e4bb42863b55d47a01e4f550ab /flake.nix | |
| parent | 9a67e0421b49596060719566996ee4ca81ae8843 (diff) | |
Core: Add a test suite (#9297)
Adds a test suite for testing hyprland's features with a runtime tester
---------
Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 24 |
1 files changed, 22 insertions, 2 deletions
@@ -91,6 +91,7 @@ overlays = with self.overlays; [ hyprland-packages hyprland-extras + hyprland-debug ]; }); pkgsCrossFor = eachSystem (system: crossSystem: @@ -100,6 +101,22 @@ overlays = with self.overlays; [ hyprland-packages hyprland-extras + hyprland-debug + ]; + }); + pkgsDebugFor = eachSystem (system: + import nixpkgs { + localSystem = system; + overlays = with self.overlays; [ + hyprland-debug + ]; + }); + pkgsDebugCrossFor = eachSystem (system: crossSystem: + import nixpkgs { + localSystem = system; + inherit crossSystem; + overlays = with self.overlays; [ + hyprland-debug ]; }); in { @@ -123,7 +140,8 @@ }; }; }; - }); + } + // (import ./nix/tests inputs pkgsFor.${system})); packages = eachSystem (system: { default = self.packages.${system}.hyprland; @@ -131,12 +149,14 @@ (pkgsFor.${system}) # hyprland-packages hyprland - hyprland-debug hyprland-unwrapped + hyprtester # hyprland-extras xdg-desktop-portal-hyprland ; + inherit (pkgsDebugFor.${system}) hyprland-debug; hyprland-cross = (pkgsCrossFor.${system} "aarch64-linux").hyprland; + hyprland-debug-cross = (pkgsDebugCrossFor.${system} "aarch64-linux").hyprland-debug; }); devShells = eachSystem (system: { |
