Comments (5)
Yea the fact that the parsing logic is in cabal-install is the main reason I haven't tried to do anything like this even for the nixpkgs Haskell infra. I'd really like it if cabal-install would export a few key data types and parsers in a library component.
from haskell.nix.
Just for the record. @hvr pointed out that https://github.com/haskell-CI/haskell-ci/blob/master/src/HaskellCI/Project.hs should be sufficient to parse the cabal.project files; and give us a similar level of generic interface as we have to the stack.yaml
from haskell.nix.
@rvl I think this might actually be done. The current plan-to-nix
Behaves almost identical to stack-to-nix
.
from haskell.nix.
@angerman So I can go to my source tree containing cabal.project
, follow the documentation, then have a working multi-project Nix build?
from haskell.nix.
This is done, and documented in #165
from haskell.nix.
Related Issues (20)
- Flake does not provide package attribute HOT 2
- Package key for wired-in dependency 'ghcjs-th' could not be found HOT 1
- remote-iserv.exe: CreateDirectory /bin: permission denied HOT 3
- Private source-repository-packages over ssh do not work ("error: cannot run ssh: No such file or directory") HOT 4
- error: attribute 'system-cxx-std-lib' missing HOT 3
- Windows module definition file not found by linker when cross-compiling foreign library HOT 1
- Conflicting plan-sha256 reported HOT 5
- pkgsCross.musl64.kmod fails, but works upstream HOT 2
- GHC 9.4.5 build fails during 'installPhase' on 'x86_64-darwin' HOT 1
- Why am I building GHC 9.2.8? HOT 5
- Hackage.nix updates have stopped HOT 4
- Better “Getting Started” documentation entry-point
- Haskell.nix can't find linear-base HOT 5
- some bad code signatures for aarch64-darwin on cache.iog.io HOT 10
- Haddock failure for package with custom setup HOT 4
- Add `compiler-nix-name` to the component derivation names
- Add haskell-language-server-2.2.0.0 to flake inputs and build.nix
- Add GHC 9.4.6 HOT 6
- GHC 9.6, Wasm, and GHCJS HOT 6
- cross-compilation documentation seems out of date
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haskell.nix.