New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hasktorch as a nix package #164
Conversation
It failed for me :(
|
Did you do that on a Mac? I had the same problem. I had to override sysinfo with an otherwise identical derivation that skips tests, see #165 |
Yes a Mac. Great! I will take a look. |
@junjihashimoto This PR is superseded by @tscholak 's PR and the new PR uses a more modern approach. I am now closing this PR and the nix-shell PR and let us all focus on PR #165 |
@junjihashimoto @wavewave @tscholak. In the spirit of all-contributors (but since both parties have pushed code), I'd like to bring this PR back, merge it first, then merge #164. This might require a bandaid or two. Both @wavewave and @tscholak have chipped away at the idiosyncrasies of this build. I'd like to take a stab at this, but need roughly 2-4 days to wrap up home- and work- transitions. |
On top of #162, I packaged hasktorch 0.0.2 as a nix package, also with libtorch-ffi as a nix package.
For user (not a hasktorch developer), I created
user-shell.nix
which set up the dependencies for using hasktorch by running