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

Workaround for --override-input CHaP #69

Closed
wants to merge 1 commit into from

Conversation

hamishmack
Copy link
Contributor

This helps haskell.nix find the package source correctly. In particular new packages that are not in the main CHaP branch yet will be loaded correctly.

To try it out you will need a local CHaP, this can be build with:

git clone git@github.com:input-output-hk/cardano-haskell-packages.git
cd cardano-haskell-packages
nix develop -c foliage build -j 0 --write-metadata

That will make a cardano-haskell-packages/_repo dir with the CHaP repository including any new packages. To use from a directory containing this cardano-api branch run:

nix build --override-input CHaP path:/home/hamish/iohk/cardano-haskell-packages/_repo .\#hydraJobs.required

Make sure to use path: and the full path to the _repo directory.

This helps haskell.nix find the package source correctly.
@disassembler
Copy link
Contributor

I added this commit to #76

@hamishmack hamishmack mentioned this pull request Jun 26, 2023
10 tasks
newhoggy added a commit that referenced this pull request Mar 11, 2024
…skell-to-project

Apply `stylish-haskell` to project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants