git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #33968 from peterhoeg/f/wp

wp-cli: use as much memory as possible

commit08d3da7ad021cb4a8201e891cb1acce6cd4219ef authorPeter Hoeg <peter@hoeg.com> dateThu 18 Jan 2018, 08:16 (9 years ago) parentb0cb66035abe07
1 file changed+4−1
pkgs/development/tools/wp-cli/default.nix+4−1
pkgs/development/tools/wp-cli/default.nix+4−1
@@ -26,7 +26,7 @@ let
2626
2727 ini = writeText "wp-cli.ini" ''
2828 [PHP]
29− memory_limit = 512M ; composer can be a bit of a memory pig
29+ memory_limit = -1 ; composer uses a lot of memory
3030
3131 [Phar]
3232 phar.readonly = Off
@@ -40,6 +40,9 @@ in stdenv.mkDerivation rec {
4040
4141 ln -s ${bin} $out/bin/wp
4242 install -Dm644 ${completion} $out/share/bash-completion/completions/wp
43+
44+ # this is a very basic run test
45+ $out/bin/wp --info
4346 '';
4447
4548 meta = with stdenv.lib; {