update to 21.05
This commit is contained in:
@@ -3,9 +3,9 @@ let
|
||||
myPhp = pkgs.php.buildEnv {
|
||||
extensions = { all, ... }: with all; [ imagick opcache apcu redis memcached ];
|
||||
extraConfig = ''
|
||||
memory_limit=2G
|
||||
post_max_size=2G
|
||||
upload_max_filesize=2G
|
||||
memory_limit=5G
|
||||
post_max_size=5G
|
||||
upload_max_filesize=5G
|
||||
output_buffering=0
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -1,16 +1,27 @@
|
||||
{ config, pkgs, ...}:
|
||||
{ config, pkgs, lib, ...}:
|
||||
|
||||
let
|
||||
lAddress = "127.0.0.1";
|
||||
lPort = 9081;
|
||||
nexusPkgs = pkgs.nexus.overrideAttrs (oldAttrs: rec {
|
||||
pname = "nexus";
|
||||
version = "3.28.1-01";
|
||||
version = "3.31.1-01";
|
||||
sourceRoot = "${pname}-${version}";
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-${version}-unix.tar.gz";
|
||||
sha256 = "0qba2qaz85hf0vgix3qyqdl8yzdb6qr91sgdmxv3fgjhyvnvqyy8";
|
||||
sha256 = "07l0jf02g42xpcb55a693b6gasnzp37iwbz8m7gidiz809p3vh64";
|
||||
};
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out
|
||||
cp -rfv * .install4j $out
|
||||
rm -fv $out/bin/nexus.bat
|
||||
wrapProgram $out/bin/nexus \
|
||||
--set JAVA_HOME ${pkgs.jre8_headless} \
|
||||
--set ALTERNATIVE_NAME "nexus" \
|
||||
--prefix PATH "${lib.makeBinPath [ pkgs.gawk ]}"
|
||||
runHook postInstall
|
||||
'';
|
||||
});
|
||||
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user