Advertisement
Guest User

Untitled

a guest
May 24th, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. let
  2. phpCust = pkgs.php74.buildEnv {
  3. extensions = { all, enabled }: enabled ++ [ all.pcov ];
  4. extraConfig = ''
  5. date.timezone = "GMT"
  6. upload_max_filesize = 10M
  7. post_max_size = 10M
  8. pcov.enabled = 1
  9. pcov.directory = "/var/www"
  10. pcov.exclude = "/var/www/vendor"
  11. '';
  12. };
  13. in
  14. {
  15. environment.systemPackages = with pkgs; [
  16. phpCust
  17. phpCust.packages.composer
  18. ];
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement