mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-16 15:32:46 +01:00
sbt: trim output of password command
This commit is contained in:
parent
418ae217dd
commit
acf824c9ed
2 changed files with 3 additions and 3 deletions
|
|
@ -19,8 +19,8 @@ let
|
|||
];
|
||||
expectedCredentialsSbt = pkgs.writeText "credentials.sbt" ''
|
||||
import scala.sys.process._
|
||||
credentials += Credentials("Sonatype Nexus Repository Manager", "example.com", "user", "echo password".lazyLines.mkString("\n"))
|
||||
credentials += Credentials("Sonatype Nexus Repository Manager X", "v2.example.com", "user1", "echo password1".lazyLines.mkString("\n"))
|
||||
credentials += Credentials("Sonatype Nexus Repository Manager", "example.com", "user", "echo password".!!.trim)
|
||||
credentials += Credentials("Sonatype Nexus Repository Manager X", "v2.example.com", "user1", "echo password1".!!.trim)
|
||||
'';
|
||||
credentialsSbtPath = ".sbt/1.0/credentials.sbt";
|
||||
in {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue