mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-10 18:57:22 +00:00
21 lines
707 B
Nix
21 lines
707 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 = {
|
|
xdg-desktop-portal = { };
|
|
xwayland = { };
|
|
};
|
|
|
|
nixpkgs.overlays = [
|
|
(_final: _prev: {
|
|
dbus = config.lib.test.mkStubPackage { name = "dbus"; };
|
|
hyprland = lib.makeOverridable
|
|
(attrs: config.lib.test.mkStubPackage { name = "hyprland"; }) { };
|
|
xdg-desktop-portal-hyprland = lib.makeOverridable (_:
|
|
config.lib.test.mkStubPackage { name = "xdg-desktop-portal-hyprland"; })
|
|
{ };
|
|
systemd =
|
|
lib.makeOverridable (_attrs: config.lib.test.mkStubPackage { }) { };
|
|
})
|
|
];
|
|
}
|