mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-24 18:00:58 +01:00
river-stubs: add stubs for river tests
Reducing closure from 500MB to 357MB
This commit is contained in:
parent
e0a2df3193
commit
02dc2e827f
2 changed files with 15 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [ ./river-stubs.nix ];
|
||||
|
||||
wayland.windowManager.river = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
|
|
|
|||
13
tests/modules/services/window-managers/river/river-stubs.nix
Normal file
13
tests/modules/services/window-managers/river/river-stubs.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ config, lib, ... }: {
|
||||
# Avoid unnecessary downloads in CI jobs and/or make out paths constant, i.e.,
|
||||
# not containing hashes, version numbers etc.
|
||||
test.stubs = { river = { }; };
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(_final: _prev: {
|
||||
dbus = config.lib.test.mkStubPackage { name = "dbus"; };
|
||||
systemd =
|
||||
lib.makeOverridable (_attrs: config.lib.test.mkStubPackage { }) { };
|
||||
})
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue