diff options
author | Bobby Rong <rjl931189261@126.com> | 2024-04-10 21:27:31 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2024-04-10 21:27:31 +0800 |
commit | a6ada0502be8e784b08b24dd023f3653499bd526 (patch) | |
tree | f1758430dac910d2890e8946281afd0e1b39b535 /nixos/tests/pantheon.nix | |
parent | 14c7a500c0939d8251a60ca0932bba3fca3b1737 (diff) |
nixos/pantheon: Don't enable modules for excludePackages
ref: bc970e94e786d554237c931457ac50f5c415b9f0 ref: nixpkgs issue 299877 While at it, also enable flatpak in nixosTests.pantheon so we ensure appcenter builds.
Diffstat (limited to 'nixos/tests/pantheon.nix')
-rw-r--r-- | nixos/tests/pantheon.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/tests/pantheon.nix b/nixos/tests/pantheon.nix index f8de2eb8061d1..d2a4a009af53d 100644 --- a/nixos/tests/pantheon.nix +++ b/nixos/tests/pantheon.nix @@ -13,6 +13,13 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : services.xserver.enable = true; services.xserver.desktopManager.pantheon.enable = true; + # We ship pantheon.appcenter by default when this is enabled. + services.flatpak.enable = true; + + # We don't ship gnome-text-editor in Pantheon module, we add this line mainly + # to catch eval issues related to this option. + environment.pantheon.excludePackages = [ pkgs.gnome-text-editor ]; + environment.systemPackages = [ pkgs.xdotool ]; }; |