mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
i3-stubs: add more stubs
Reducing closure from 500MB to 357MB
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{
|
||||
{ config, lib, ... }: {
|
||||
# Avoid unnecessary downloads in CI jobs and/or make out paths constant, i.e.,
|
||||
# not containing hashes, version numbers etc.
|
||||
test.stubs = {
|
||||
@@ -16,4 +16,12 @@
|
||||
|
||||
i3status = { };
|
||||
};
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(_final: _prev: {
|
||||
dbus = config.lib.test.mkStubPackage { name = "dbus"; };
|
||||
systemd =
|
||||
lib.makeOverridable (_attrs: config.lib.test.mkStubPackage { }) { };
|
||||
})
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user