nix: add user doc and pkg fixes

- Add user doc for how to use with nix/nixos

- fix potential collisions in packages if both are installed via
  `nix-env`
This commit is contained in:
Eike Kettner
2020-01-24 21:56:48 +01:00
parent c0f39d6497
commit 61bbdab8b5
5 changed files with 145 additions and 8 deletions

View File

@ -314,7 +314,8 @@ val microsite = project.in(file("modules/microsite")).
fork in run := true,
micrositeCompilingDocsTool := WithMdoc,
mdocVariables := Map(
"VERSION" -> version.value
"VERSION" -> version.value,
"PVERSION" -> version.value.replace('.', '_')
),
Compile/resourceGenerators += Def.task {
val conf1 = (resourceDirectory in (restserver, Compile)).value / "reference.conf"