mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-05 16:26:58 +00:00
spectrwm-stubs: add stubs for spectrwm tests
Reducing closure from 500MB to 357MB
This commit is contained in:
parent
e17bdf3191
commit
c4f28f282f
2 changed files with 15 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [ ./spectrwm-stubs.nix ];
|
||||
|
||||
xsession.windowManager.spectrwm = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
@ -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 = { spectrwm = { }; };
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(_final: _prev: {
|
||||
dbus = config.lib.test.mkStubPackage { name = "dbus"; };
|
||||
systemd =
|
||||
lib.makeOverridable (_attrs: config.lib.test.mkStubPackage { }) { };
|
||||
})
|
||||
];
|
||||
}
|
Loading…
Add table
Reference in a new issue