From 27132c35df7b50ccbbf14f21bfd99aa9a96b9805 Mon Sep 17 00:00:00 2001 From: Francesco Zanini Date: Thu, 10 Jan 2019 12:56:33 +0100 Subject: [PATCH 1/2] nexus: 3.12.1 -> 3.14.0-04 --- .../development/tools/repository-managers/nexus/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/repository-managers/nexus/default.nix b/pkgs/development/tools/repository-managers/nexus/default.nix index 39e37b217cf3..8b42ed124360 100644 --- a/pkgs/development/tools/repository-managers/nexus/default.nix +++ b/pkgs/development/tools/repository-managers/nexus/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { name = "nexus-${version}"; - version = "3.12.1-01"; + version = "3.14.0-04"; src = fetchurl { url = "https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-${version}-unix.tar.gz"; - sha256 = "1vv50zv3cr42rq1g16gdl2d1hrxna2jjynlr7kivzlbyfq89ic3f"; + sha256 = "1ql707672xhybmfajjmli9w0wcf1f26skq8i5kqirms2364wg35f"; }; sourceRoot = name; @@ -41,6 +41,6 @@ stdenv.mkDerivation rec { homepage = http://www.sonatype.org/nexus; license = licenses.epl10; platforms = platforms.all; - maintainers = with maintainers; [ aespinosa ironpinguin ma27 ]; + maintainers = with maintainers; [ aespinosa ironpinguin ma27 zaninime ]; }; } From edcd1494f7b905cf6b70d62ef227efd6a91953b3 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 10 Jan 2019 22:39:43 +0100 Subject: [PATCH 2/2] nixos/nexus: increase disk size of VM test to 8GB Nexus increased their default minimum disk space requirement to 4GB: ``` com.orientechnologies.orient.core.exception.OLowDiskSpaceException: Error occurred while executing a write operation to database 'OSystem' due to limited free space on the disk (1823 MB). The database is now working in read-only mode. Please close the database (or stop OrientDB), make room on your hard drive and then reopen the database. The minimal required space is 4096 MB. Required space is now set to 4096MB (you can change it by setting parameter storage.diskCache.diskFreeSpaceLimit) . server# [ 72.560866] zqnav3mg7m6ixvdcacgj7p5ibijpibx5-unit-script-nexus-start[627]: DB name="OSystem" ``` Including the rest on the VM 8GB should be the most suitable solution. As the installer test also takes 8GB of disk size this should still be in an acceptable range. --- nixos/tests/nexus.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/nexus.nix b/nixos/tests/nexus.nix index bf49d2247bd8..783c9f5c019f 100644 --- a/nixos/tests/nexus.nix +++ b/nixos/tests/nexus.nix @@ -14,7 +14,7 @@ import ./make-test.nix ({ pkgs, ...} : { server = { ... }: { virtualisation.memorySize = 2047; # qemu-system-i386 has a 2047M limit - virtualisation.diskSize = 2048; + virtualisation.diskSize = 8192; services.nexus.enable = true; };