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:
nix-community#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: nix-community#6467

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
  • Loading branch information
booxter committed Feb 22, 2025
1 parent 1a78a4c commit 37fd119
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
16 changes: 16 additions & 0 deletions tests/modules/programs/firefox/floorp-with-firefox.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{ config, lib, realPkgs, ... }:

lib.mkIf config.test.enableBig {
programs.firefox = {
enable = true;
package = realPkgs.firefox-unwrapped;
};
programs.floorp = {
enable = true;
package = realPkgs.floorp-unwrapped;
};
programs.librewolf = {
enable = true;
package = realPkgs.librewolf-unwrapped;
};
}
4 changes: 3 additions & 1 deletion tests/modules/programs/firefox/floorp.nix
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
import ./common.nix "floorp"
import ./common.nix "floorp" // {
"floorp-with-firefox" = ./floorp-with-firefox.nix;
}

0 comments on commit 37fd119

Please sign in to comment.