-
Notifications
You must be signed in to change notification settings - Fork 10
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
Split utility functions out from default.nix #38
base: master
Are you sure you want to change the base?
Conversation
c83dc7a
to
d160c3f
Compare
nix-thunk has two consumers: those who want to build the tool as such, and those who want to use its nix functions to manipulate thunks. The utility nix functions have been split out into `lib.nix`.
d160c3f
to
fe75967
Compare
Should we move the deprecated functions too? I think so, though it is nice for |
inherit (import ./dep/gitignore.nix { inherit (pkgs) lib; }) gitignoreSource; | ||
lib = pkgs.callPackage ./lib.nix { | ||
inherit gitignoreSource; | ||
inherit (pkgs) fetchgitPrivate; |
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.
Is this needed?
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.
yea, idk why. i know fetchgitPrivate
has since been removed, but it should still show up w/ callPackage on our checkout. I wanted to look further into this.
Co-authored-by: John Ericson <[email protected]>
nix-thunk has two consumers: those who want to build the tool as such,
and those who want to use its nix functions to manipulate thunks. The
latter have been split out into
lib.nix
.See #16