[Nix-dev] eval or in-place expression execution

2014-07-11 Thread Sergey Mironov
Hi. I need to do non-trivial string calculations (encrypt the password with openssl) which AFAIK can't be written in Nix at the moment. That's why I think about Nix `eval` equivalent. I wonder if it goes against Nix concepts or not? My implementation looks like the following: encryptPassword =

Re: [Nix-dev] eval or in-place expression execution

2014-07-11 Thread Luca Bruno
On 11/07/2014 09:46, Sergey Mironov wrote: Hi. I need to do non-trivial string calculations (encrypt the password with openssl) which AFAIK can't be written in Nix at the moment. That's why I think about Nix `eval` equivalent. I wonder if it goes against Nix concepts or not? My implementation

Re: [Nix-dev] eval or in-place expression execution

2014-07-11 Thread Sergey Mironov
I agree, design is questionable, bu I keep automatic tests together with system being developed. Tests should know the original password so I store it as plain Nix string. But my main question relates to the fact that `import' can read the calculated path from /nix/store and `builtins.readFile'

[Nix-dev] Hydra stuck (as usual)

2014-07-11 Thread Vladimír Čunát
Hi, during the last 24h, only darwin builds were in queue, but Hydra hasn't checked for any new evaluation. Now the queue is even empty (practically). Vlada smime.p7s Description: S/MIME Cryptographic Signature ___ nix-dev mailing list

Re: [Nix-dev] Hydra stuck (as usual)

2014-07-11 Thread Rob Vermaas
Hi Vlada, we are experiencing performance issues with the garbage collector, which locks many nix actions. Eelco will be looking into this. Cheers, Rob On Fri, Jul 11, 2014 at 11:16 AM, Vladimír Čunát vcu...@gmail.com wrote: Hi, during the last 24h, only darwin builds were in queue, but

Re: [Nix-dev] RTEMS cross compiler

2014-07-11 Thread Ben Franksen
Benjamin Franksen wrote: I want to package the tool chain for RTEMS 4.9. The sources are at ftp://www.rtems.org/pub/rtems/SOURCES/4.9. The gcc version is 4.3.2 plus a few RTEMS specific patches. I successfully packaged the corresponding binutils. I can also build and install the cross gcc.