mirror of
https://github.com/nix-community/home-manager
synced 2024-08-20 19:16:31 +02:00
sbt allows overriding the default repositories to use to resolve dependencies. This is often used with proxies and/or private repositories to host internal packages. This change adds a `repositories` attribute to `sbt` to allow specifying the values that will go in `~/.sbt/repositories` file. To support the above change we also deprecate the `baseConfigPath` option in favour of `baseUserConfigPath` which points one level higher by default. This allows not using relative paths to refer to the top-level configuration directory. Also adds tests for the new option and the deprecation of the previous one.
8 lines
217 B
Nix
8 lines
217 B
Nix
{
|
|
sbt-credentials = ./credentials.nix;
|
|
sbt-deprecated-options = ./deprecated-options.nix;
|
|
sbt-plugins = ./plugins.nix;
|
|
sbt-repositories = ./repositories.nix;
|
|
sbt-user-config-path = ./user-config-path.nix;
|
|
}
|