Skip to content

Nightly: Also update hackage-src.json and stackage-src.json #101

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

Merged
merged 1 commit into from
Apr 2, 2019

Conversation

rvl
Copy link
Contributor

@rvl rvl commented Mar 22, 2019

After updating hackage.nix and stackage.nix, update the JSON files in this repo.

These updates are made straight to the master branch, and they should be non-breaking.

@rvl rvl self-assigned this Mar 22, 2019
@rvl rvl requested review from angerman and jbgi March 22, 2019 01:54
@rvl rvl force-pushed the rvl/update-pins branch from a7e558d to b12e3b3 Compare April 2, 2019 01:30
@rvl
Copy link
Contributor Author

rvl commented Apr 2, 2019

Squashed commits and merging now.

@rvl rvl merged commit 77954f3 into master Apr 2, 2019
@rvl rvl deleted the rvl/update-pins branch April 2, 2019 02:18
andreabedini pushed a commit to andreabedini/haskell.nix that referenced this pull request Sep 14, 2022
We should look up hsPkgs.${pkg-name}.components.exe.${component-name}
instead of including the package as a dependency.

Adding `hsPkgs.${pkg-name}` a tool it is not clear which executable in the package `haskell.nix` should choose.

Haskell.nix did not deal with this well and in fact it could lead to `nix-shell` crashing.  For instance using `shellFor` to make a shell for building `haskell-language-server` with `cabal build` crashed as a dependency on `ghcide` the executable (by the `ghcide-bench` executable) caused infinite recursion.  Allowing `ghcide-bench` to correctly depend just on `components.exes.ghcide` fixes this.
andreabedini pushed a commit to andreabedini/haskell.nix that referenced this pull request Sep 14, 2022
We should look up hsPkgs.${pkg-name}.components.exe.${component-name}
instead of including the package as a dependency.

Adding `hsPkgs.${pkg-name}` a tool it is not clear which executable in the package `haskell.nix` should choose.

Haskell.nix did not deal with this well and in fact it could lead to `nix-shell` crashing.  For instance using `shellFor` to make a shell for building `haskell-language-server` with `cabal build` crashed as a dependency on `ghcide` the executable (by the `ghcide-bench` executable) caused infinite recursion.  Allowing `ghcide-bench` to correctly depend just on `components.exes.ghcide` fixes this.
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