Skip to content
Discussion options

You must be logged in to vote

Call .wrap again! The package has that too! You can call it as many times as you wish.

https://birdeehub.github.io/nix-wrapper-modules/md/getting-started.html#extending-configurations

You always have access to .wrap, .apply, .eval, and .extendModules, which are all aliases for .extendModules with very slightly different behavior (for convenience, usually .wrap is the easiest as it then grabs the package from the result, unless you cannot pass it a pkgs yet). They are present as read only values in config, as well as in passthru on the final package, which you can access from top level on the resulting package like thepackage.wrap { ??? } or thepackage.wrap ({ pkgs, ... }: { ??? }) or even t…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jla2000
Comment options

@BirdeeHub
Comment options

@jla2000
Comment options

Answer selected by jla2000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants