Skip to content
Discussion options

You must be logged in to vote

Is there a way I can tell nixCats utils to use normal pkgs + pkgsUnstable that I'd pass in? I'm still a noob to nix and couldn't figure it out on my own.

So, in the location where you call the main builder function, nixCats.utils.baseBuilder, you pass it the pkgs it uses for everything.

You can also pass overlays to the builder function, when you do that they will be added to the pkgs or nixpkgs+system you pass in, and you can fetch the derivation you put in that overlay from any nixpkgs you want and supply it. You could instead apply them to the pkgs before you pass it in, doesnt matter.

You could use prev.stdenv.hostPlatforms.system or final.stdenv.hostPlatforms.system in an overlay, …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@raspberric
Comment options

@BirdeeHub
Comment options

Answer selected by raspberric
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