mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-06 17:11:03 +01:00
sbt: Scoping credentials to ThisBuild (#6026)
In Sbt (prior to 2.0) a sbt key not scoped to `ThisBuild` will always be at the project level, rather than at the build level. In order to do some things, like use a private repository configured by sbt with sbt-scalafix, we need the credentials scope to the build, otherwise the credentials show as non-existent.
This commit is contained in:
parent
a8e2d08ffd
commit
ec71b51628
2 changed files with 3 additions and 3 deletions
|
|
@ -25,7 +25,7 @@ let
|
|||
in
|
||||
''
|
||||
lazy val ${symbol} = "${cred.passwordCommand}".!!.trim
|
||||
credentials += Credentials("${cred.realm}", "${cred.host}", "${cred.user}", ${symbol})
|
||||
ThisBuild / credentials += Credentials("${cred.realm}", "${cred.host}", "${cred.user}", ${symbol})
|
||||
'';
|
||||
|
||||
renderCredentials = creds: ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue