google-research / dex-lang

Research language for array processing in the Haskell/ML family
BSD 3-Clause "New" or "Revised" License
1.58k stars 106 forks source link

[fix] unbreak the nix code and make it slightly nicer #1252

Closed MangoIV closed 2 months ago

MangoIV commented 1 year ago

Fixes

Additions


Note the packages of llvm-hs, llvm-hs-pure and the dex package should probably be materalized, I'll perhaps at this as a PR at a later point

at some point we should probably make the legacy nix code properly follow the flake inputs I didn't update this but as nixpkgs is not pinned anyways, I don't think it makes sense to half-ass it.


Warning before merging this, someone with an nvidia graphics card should probably check whether this builds by running nix build github:mangoiv/dex-lang#dex-cuda on their system with an nvidia graphics card and ld library path properly set

be aware that dex does not build with current nixpkgs-unstable as floating-bits is broken for a while, similarly to llvm-hs/*

google-cla[bot] commented 1 year ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

MangoIV commented 1 year ago

I don't have a personal google account and I won't create one; I will contribute under usual terms but if that's not possible I perhaps cannot.