Skip to content

Commit

Permalink
tests: check that all firefox derivatives can be installed
Browse files Browse the repository at this point in the history
The issue itself was resolved with:
#6460

This patch only adds a test case to make sure we don't ever regress by
installing firefox and librewolf and floorp at the same time.

Closes: #6467

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
  • Loading branch information
booxter authored and khaneliman committed Feb 23, 2025
1 parent fb568d7 commit 7f9ba30
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ in import nmtSrc {
./modules/programs/boxxy
./modules/programs/cavalier
./modules/programs/eww
./modules/programs/firefox
./modules/programs/firefox/firefox.nix
./modules/programs/firefox/floorp.nix
./modules/programs/foot
Expand Down
1 change: 1 addition & 0 deletions tests/modules/programs/firefox/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "firefox-multiple-derivatives" = ./multiple-derivatives.nix; }
16 changes: 16 additions & 0 deletions tests/modules/programs/firefox/multiple-derivatives.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{ config, lib, ... }:

lib.mkIf config.test.enableBig {
programs.firefox = {
enable = true;
package = null;
};
programs.floorp = {
enable = true;
package = null;
};
programs.librewolf = {
enable = true;
package = null;
};
}

0 comments on commit 7f9ba30

Please sign in to comment.