Re: [Nix-dev] Expression for run time for build environment closures?

2017-06-14 Thread Tyson Whitehead
On Tuesday, June 13, 2017 5:28:01 PM EDT Tyson Whitehead wrote: > Is there any easy way to do this sort of thing already? Generating and > compiling code on the fly seems to be a popular thing to do at the moment > (firedrake is another python example) so I can see this sort of thing would >

[Nix-dev] Expression for run time for build environment closures?

2017-06-13 Thread Tyson Whitehead
Hi All, Working on merging the cuda and non-cuda expression from the python package theano as was wondering if there is an expression for making a gcc wrapped with certain libraries (like a build environment). That is, theano creates C++ code on the fly, compiles it up, and imports it into