mirror of
https://github.com/nix-community/home-manager
synced 2024-11-06 03:09:45 +01:00
19 lines
461 B
Nix
19 lines
461 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
programs.sbt = {
|
||
|
enable = true;
|
||
|
baseConfigPath = "gone";
|
||
|
};
|
||
|
|
||
|
test.stubs.sbt = { };
|
||
|
|
||
|
test.asserts.assertions.expected = [
|
||
|
(let offendingFile = toString ./deprecated-options.nix;
|
||
|
in ''
|
||
|
The option definition `programs.sbt.baseConfigPath' in `${offendingFile}' no longer has any effect; please remove it.
|
||
|
Use programs.sbt.baseUserConfigPath instead, but note that the semantics are slightly different.
|
||
|
'')
|
||
|
];
|
||
|
}
|