mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
mopidy: reduce test closure size
This commit is contained in:
parent
c6e4ec39df
commit
6c1a461a44
1 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue