Re: [Nix-dev] $snapshot not evaluating

2016-02-04 Thread stewart mackenzie
That seemed to have helped quite a bit! Still not there yet! On Thu, Feb 4, 2016 at 8:34 PM, Tuomas Tynkkynen wrote: > Typically you do something like this: > > preConfigure = '' > configureFlagsArray+=("--local-rust-root=$snapshot") > ''; ___ nix-d

Re: [Nix-dev] Custom php.ini for cli calls

2016-02-04 Thread Guillaume Maudoux (Layus)
Hi, I found a hint on StackOverflow[1], which outlines that php is not the product of a makeDerivation, but instead is a composableDerivation. More info on these strange beasts can be found in the source itself[2], with php being explicitly cited as an exception. Once you know it, you notice it at

Re: [Nix-dev] Custom php.ini for cli calls

2016-02-04 Thread Guillaume Maudoux (Layus)
That being said, you can also start php with the right arguments. It seems to me that php does not read any configuration file from the derivation when it starts. $ php --ini Configuration File (php.ini) Path: /nix/store/hr30lz6ziqinsbi525fm9han3lr9nsmj-php-5.6.16/etc Loaded Configuration File:

[Nix-dev] Custom php.ini for cli calls

2016-02-04 Thread 4levels
Hi Nix Devs, I'm trying to increase the memory_limit settings for php cli calls. For the phpfpm calls I've managed (a few months ago) to append my custom options to the php.ini file as the phpfpm service has an option to do so. However, for php cli calls, the memory_limit value is usually set to u

Re: [Nix-dev] $snapshot not evaluating

2016-02-04 Thread Tuomas Tynkkynen
On 02/04/2016 09:31 AM, stewart mackenzie wrote: > Hello, > >[...] > Notice $snapshot isn't evaluated. > > Is there a way for me to get $snapshot evaluated without copying over > all the code from nixpkgs yet simply overriding the configureFlags? > (example code I'd need to copy over > https://gith