mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
parent
6b6bf0dcc5
commit
b5de26430d
1 changed files with 2 additions and 0 deletions
|
@ -98,6 +98,8 @@ in phpPackage.buildComposerProject rec {
|
|||
substituteInPlace $out/LibreNMS/__init__.py --replace '"/usr/bin/env", "php"' '"${phpPackage}/bin/php"'
|
||||
substituteInPlace $out/snmp-scan.py --replace '"/usr/bin/env", "php"' '"${phpPackage}/bin/php"'
|
||||
|
||||
substituteInPlace $out/lnms --replace '\App\Checks::runningUser();' '//\App\Checks::runningUser(); //removed as nix forces ownership to root'
|
||||
|
||||
wrapProgram $out/daily.sh --prefix PATH : ${phpPackage}/bin
|
||||
|
||||
rm -rf $out/logs $out/rrd $out/bootstrap/cache $out/storage $out/.env
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue