Skip to content

Conversation

@madeline-os
Copy link
Contributor

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

@madeline-os madeline-os force-pushed the mh-split-lib branch 2 times, most recently from c83dc7a to d160c3f Compare August 22, 2022 02:23
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`.
@Ericson2314
Copy link
Member

Should we move the deprecated functions too? I think so, though it is nice for lib.nix to "start nice" from the get-go.

inherit (import ./dep/gitignore.nix { inherit (pkgs) lib; }) gitignoreSource;
lib = pkgs.callPackage ./lib.nix {
inherit gitignoreSource;
inherit (pkgs) fetchgitPrivate;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed?

Copy link
Contributor Author

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.

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.

3 participants