mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
phpipam: 1.4.7 -> 1.5.0
This commit is contained in:
parent
9e1e8410c3
commit
a3ebc6d356
1 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue