phpipam: 1.4.7 -> 1.5.0

This commit is contained in:
Sean Buckley 2022-05-11 11:50:57 -04:00
parent 9e1e8410c3
commit a3ebc6d356

View file

@ -2,7 +2,7 @@
let let
cfg = config.sconfig.phpipam; cfg = config.sconfig.phpipam;
version = "1.4.7"; version = "1.5.0";
phpipamHtdocs = pkgs.stdenv.mkDerivation { phpipamHtdocs = pkgs.stdenv.mkDerivation {
inherit version; inherit version;
@ -11,7 +11,7 @@ let
owner = "phpipam"; owner = "phpipam";
repo = "phpipam"; repo = "phpipam";
rev = "v${version}"; rev = "v${version}";
sha256 = "0LkVIgXxFSvWQZQ694dHIu5xReJtSx9nW6V0rcmARF0="; sha256 = "sha256-dbeOx7Tvg9wu3X4FYiAEfj91MEgsb7XX0axFadV7SR8=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
installPhase = '' installPhase = ''
@ -19,6 +19,7 @@ let
chmod +w "$out" chmod +w "$out"
echo '<?php echo '<?php
require("config.dist.php"); require("config.dist.php");
$db["host"] = "localhost";
$db["user"] = "nginx"; $db["user"] = "nginx";
require("/etc/phpipam_config.php");' >"$out/config.php" require("/etc/phpipam_config.php");' >"$out/config.php"
''; '';