mirror of
https://github.com/nix-community/home-manager
synced 2024-12-21 10:33:25 +00: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.
|
||
|
'')
|
||
|
];
|
||
|
}
|