-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
haskell: Add hoogle option to developPackage #103061
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
Conversation
eba1c4d
to
138bf04
Compare
name hoogle -> withHoogle for consistency with other makeShell |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a few comments.
Also, it would be nice if you wrote some documentation for end users who want to use Hoogle. Could you add a sentence or two for what an end user would be able to do by enabling the withHoogle
option? I'm guessing the idea is that they now get a hoogle
in their path with a database of all dependencies?
It'd also be nice to have a test for developPackage
(similar to the test for shellFor
), but that's more of a wish-list type thing. Not having a test shouldn't block this from being merged in.
Such a test would involve import-from-derivation, is that permissible in nixpkgs? |
Ah, good call. I guess you could always just mark it |
138bf04
to
f9883ba
Compare
Right, perhaps best for another PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from the one remaining comment, I think this looks really good.
I'm going to leave this open for a few days, so that any else that got notified has a chance to comment on the change in lib/
.
@expipiplus1 If there are no additional comments to this in a few days, please feel free to ping me and I will merge it in (assuming the test thing has been fixed).
f9883ba
to
d76509f
Compare
Will do, thanks |
d76509f
to
e6af99a
Compare
@cdepillabout ping! |
e6af99a
to
6586a9c
Compare
I don't think that @ofborg's failure is to do with this PR |
Thanks! |
|
Also add
composeExtensionss
to lib.This seems to be a sensible way of getting
ghcWithHoogle
into the mix.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)