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/sway/sway-stubs.nix
Austin Horstman 644552519e sway-stubs: add more stubs
Reducing closure from 500MB to 357MB
2025-01-31 20:47:14 -06:00

22 lines
621 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 = {
dmenu = { };
foot = { };
i3status = { };
sway = { version = "1"; };
sway-unwrapped = { version = "1"; };
swaybg = { };
xwayland = { };
};
nixpkgs.overlays = [
(_final: _prev: {
procps = config.lib.test.mkStubPackage { name = "procps"; };
dbus = config.lib.test.mkStubPackage { name = "dbus"; };
systemd =
lib.makeOverridable (_attrs: config.lib.test.mkStubPackage { }) { };
})
];
}