mirror of
https://github.com/nix-community/home-manager
synced 2024-08-21 19:46:30 +02: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.
|
||
|
'')
|
||
|
];
|
||
|
}
|