Open bobvanderlinden opened 3 years ago
The simplest is probably creating a new nixpkgs instance with overlay added to overlays.
https://github.com/jtojnar/nixfiles/blob/b062127e9dc616249fb5e39204ae910c3470ed6b/flake.nix#L50-L58
Then, you will be able to use it through pkgs.napalm.
I'm trying to use napalm inside my flake.nix. However I cannot understand how overlays are supposed to work this way. I kind of expected a lib function. The readme only talks about using niv, but my project already uses flakes as-is. Could you give an example in the readme?