mopidy: reduce test closure size

This commit is contained in:
Robert Helgesson 2024-09-14 12:14:21 +02:00
parent c6e4ec39df
commit 6c1a461a44
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -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