mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
parent
6b6bf0dcc5
commit
b5de26430d
@ -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…
Reference in New Issue
Block a user