-
Notifications
You must be signed in to change notification settings - Fork 247
Rename pkg-def-overlays to pkg-def-extras #79
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
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.
Some overlays are still being present :)
docs/iohk-nix.md
Outdated
@@ -74,7 +74,7 @@ let | |||
# The overlay allows extension or restriction of the set of | |||
# packages we are interested in. By using the stack-pkgs.overlay |
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.
Shouldn't the lines above not include "overlay" as well?
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.
This one should go.
docs/iohk-nix.md
Outdated
@@ -74,7 +74,7 @@ let | |||
# The overlay allows extension or restriction of the set of | |||
# packages we are interested in. By using the stack-pkgs.overlay | |||
# we restrict our package set to the ones provided in stack.yaml. | |||
pkg-def-overlays = [ | |||
pkg-def-extras = [ | |||
stack-pkgs.overlay | |||
iohk-overlay.${compiler} |
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.
These stay as overlays?
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.
Right. But that's probably going to be as second step. As the stack-pkgs.overlay
is generated by the stack-to-nix
tool from input-output-hk/nix-tools.
docs/user-guide.md
Outdated
@@ -83,7 +83,7 @@ let | |||
pkgSet = haskell.mkPkgSet { | |||
inherit pkgs; | |||
pkg-def = my-pkgs.pkg-def; | |||
pkg-def-overlays = [ | |||
pkg-def-extras = [ | |||
# this overlay will provide additional packages |
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.
overlay?
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.
Yep, that should go :-)
I pushed a fix for my merge conflict. Shame we can't yet supply |
116bb3a
to
95ff192
Compare
this decreases hackage.nix loading time by approximately 5x (to 0.3s), dropping my evaluation time from 8s to 6s in total
this decreases hackage.nix loading time by approximately 5x (to 0.3s), dropping my evaluation time from 8s to 6s in total
Fixes #75