Re: [Nix-dev] Packaging Torch

2016-03-01 Thread Sergey Mironov
Hello. After recent segfault I have re-designed Nix expression building Torch the machine learning framework. New build2.nix doesn't use all-in-one install script from the upstream, but builds one package after another in form of separate derivations. This way turns out to be successful, so we have

Re: [Nix-dev] Packaging Torch

2016-02-24 Thread Sergey Mironov
Unfortunately, the Torch build from https://github.com/grwlf/torch-distro has a Segfault problem. $ th th> N = 5 [0.s] th> A = torch.rand(N, N) [0.0002s]

Re: [Nix-dev] Packaging Torch

2016-02-19 Thread Sergey Mironov
Hi again. I come to a runnable version of Torch package. Not sure it works correctly, but I can see its colored command prompt. $ git clone https://github.com/grwlf/torch-distro --recursive $ cd torch-distro $ nix-build build.nix Install.log says that some optional packages (namely, i

Re: [Nix-dev] Packaging Torch

2016-02-17 Thread Sergey Mironov
Thanks! I'll report the progress here :) 2016-02-16 22:04 GMT+03:00 Jonn Mostovoy : > I just want to point out that I wanted to build a neural network engine in > lua with some auxiliary dependencies and faced unpleasant problems with 'cc' > binary pointing not where the author's cmake file expec

Re: [Nix-dev] Packaging Torch

2016-02-16 Thread Jonn Mostovoy
I just want to point out that I wanted to build a neural network engine in lua with some auxiliary dependencies and faced unpleasant problems with 'cc' binary pointing not where the author's cmake file expected to point. Didn't research, much, but if anything, I'd be interested to contribute to lit

Re: [Nix-dev] Packaging Torch

2016-02-16 Thread William Casarin
On Tue, Feb 16, 2016 at 5:30 AM, Sergey Mironov wrote: > Hi, List. I'd like to use Torch (http://torch.ch/) on NixOS and it > looks like I have to package it first. I was looking into this awhile back. On the lua side, some pre-reqs would make this a lot easier: * luarocks2nix (https://luarock

Re: [Nix-dev] Packaging Torch

2016-02-16 Thread zimbatm
qtwebkit doesn't appear if you grep pkgs/top-level/all-packages.nix but it's imported from pkgs/development/libraries/qt-5/5.4/qtwebkit at the moment. Good luck with the packaging ! On Tue, 16 Feb 2016 at 13:30 Sergey Mironov wrote: > Hi, List. I'd like to use Torch (http://torch.ch/) on NixOS

[Nix-dev] Packaging Torch

2016-02-16 Thread Sergey Mironov
Hi, List. I'd like to use Torch (http://torch.ch/) on NixOS and it looks like I have to package it first. The task is not going to be easy due to (lots of) Lua and NodeJS dependencies. Also, they require what Ubuntu guys call webkit-qt. Do we have this package? I've established a forked repo h