summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-10-28 21:33:16 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2019-10-28 21:34:55 +0100
commitdf7727042f0252b5dd2f6a136175a320caa161f8 (patch)
treef036dc63d6f0fa146ba6d49944a5506835a1aee1 /nixos
parentf86361d186354167ff09f8aa163e70f7c5685503 (diff)
downloadnixpkgs-df7727042f0252b5dd2f6a136175a320caa161f8.tar
nixpkgs-df7727042f0252b5dd2f6a136175a320caa161f8.tar.gz
nixpkgs-df7727042f0252b5dd2f6a136175a320caa161f8.tar.bz2
nixpkgs-df7727042f0252b5dd2f6a136175a320caa161f8.tar.lz
nixpkgs-df7727042f0252b5dd2f6a136175a320caa161f8.tar.xz
nixpkgs-df7727042f0252b5dd2f6a136175a320caa161f8.tar.zst
nixpkgs-df7727042f0252b5dd2f6a136175a320caa161f8.zip
nexus: 3.18.1-01 -> 3.19.1-01
Relevant release notes:

* https://help.sonatype.com/repomanager3/release-notes/2019-release-notes#id-2019ReleaseNotes-RepositoryManager3.19.1
* https://help.sonatype.com/repomanager3/release-notes/2019-release-notes#id-2019ReleaseNotes-RepositoryManager3.19.0

Also added `preferLocalBuild = true;` to prevent builds on remote
machines as this only means elevated network access (tarball is fetched
locally and uploaded to the builder) and the build is fairly trivial.

To fix the startup I had to add the JVM parameter `java.endorsed.dirs`
to ensure that all libraries are loaded properly[1].

[1] https://issues.sonatype.org/browse/NEXUS-21603
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/web-apps/nexus.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/web-apps/nexus.nix b/nixos/modules/services/web-apps/nexus.nix
index 3af97e146d0..d4d507362c9 100644
--- a/nixos/modules/services/web-apps/nexus.nix
+++ b/nixos/modules/services/web-apps/nexus.nix
@@ -68,6 +68,7 @@ in
           -Dkaraf.data=${cfg.home}/nexus3
           -Djava.io.tmpdir=${cfg.home}/nexus3/tmp
           -Dkaraf.startLocalConsole=false
+          -Djava.endorsed.dirs=${cfg.package}/lib/endorsed
         '';
 
         description = ''