mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
mopidy: reduce test closure size
This commit is contained in:
@@ -6,6 +6,20 @@
|
||||
extensionPackages = [ pkgs.mopidy-local ];
|
||||
};
|
||||
|
||||
test.stubs = {
|
||||
mopidy = {
|
||||
version = "0";
|
||||
outPath = null;
|
||||
buildScript = ''
|
||||
mkdir -p $out/bin
|
||||
touch $out/bin/mopidy
|
||||
chmod +x $out/bin/mopidy
|
||||
'';
|
||||
};
|
||||
|
||||
mopidy-local = { };
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/systemd/user/mopidy.service
|
||||
assertFileExists home-files/.config/systemd/user/mopidy-scan.service
|
||||
|
||||
Reference in New Issue
Block a user