Using multiple nixpkgs versions #373
-
|
I tried to pin the nixpkgs version to P.S. Amazing project 💯 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
So, in the location where you call the main builder function, 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 OR, rather than messing around with overlays and being slightly confused as a new user: Within Unfortunately there is no way around having a "main" Or, you could download the plugin directly via flake input if its easy to build, that is also an option. Name it plugins-somename and pass inputs to standardPluginOverlay, OR just build it directly with mkPlugin which is supplied as argument to categoryDefintiions.
Thanks! I made a new project I am proud of (very) recently too! |
Beta Was this translation helpful? Give feedback.
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.systemorfinal.stdenv.hostPlatforms.systemin an overlay, …