Skip to content
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

Cabal2nix Overhaul #9

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ can set up a development environment.
# 3 Steps to happy Hasktorch coding

1. Fork this repo and clone it locally.
2. Launch a Nix shell with (optionally) CUDA, `ghcide`, and VS Code, `nix-shell --arg cudaSupport true --argstr cudaMajorVersion 10 --command "code ."`
3. Install the [Haskell Language Server plugin](https://marketplace.visualstudio.com/items?itemName=alanz.vscode-hie-server) and set the `HIE Variant` to `ghcide`.
2. (optional) Disable CUDA by editing `flake.nix` and setting
`cudaSupport` to `false`.
3. Start a Nix development shell with `nix develop .`.

Happy Hasktorch hacking!
21 changes: 0 additions & 21 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -1,23 +1,2 @@
packages:
*.cabal

source-repository-package
type: git
location: https://github.com/hasktorch/hasktorch
tag: d7dd1f0a83971621526caf80c0dfafc5eb0bc8be
--sha256: 1rh6xssbzcp6gix80w55qdv9ilynsrjlyn9m283bi5c5i876hrvl
subdir: libtorch-ffi-helper

source-repository-package
type: git
location: https://github.com/hasktorch/hasktorch
tag: d7dd1f0a83971621526caf80c0dfafc5eb0bc8be
--sha256: 1rh6xssbzcp6gix80w55qdv9ilynsrjlyn9m283bi5c5i876hrvl
subdir: libtorch-ffi

source-repository-package
type: git
location: https://github.com/hasktorch/hasktorch
tag: d7dd1f0a83971621526caf80c0dfafc5eb0bc8be
--sha256: 1rh6xssbzcp6gix80w55qdv9ilynsrjlyn9m283bi5c5i876hrvl
subdir: hasktorch
180 changes: 56 additions & 124 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading