1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-09 10:16:55 +00:00
home-manager/tests/modules/services/window-managers/river/river-stubs.nix
Austin Horstman 02dc2e827f river-stubs: add stubs for river tests
Reducing closure from 500MB to 357MB
2025-01-31 20:47:14 -06:00

13 lines
402 B
Nix

{ 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 { }) { };
})
];
}