Conversation
| @@ -1,3 +1,4 @@ | |||
| { nixpkgsLib }: | |||
There was a problem hiding this comment.
This breaks existing usage in the overlay.
If you have better suggestion on how to solve this let me know.
I actually I would just get rid of the overlay because it is over-engineering and
makes direct import harder.
There was a problem hiding this comment.
The overlay doesn't really use lib, so this addition should not matter too much. Could we have nixpkgsLib ? import <nixpkgs/lib> for non-flakes users?
There was a problem hiding this comment.
I would just get rid of the overlay because it is over-engineering
We can probably get rid of it. I did a quick search and couldn't find any place where it gets used as overlay anyway.
| inherit (self) lib; | ||
| }; | ||
| in { | ||
| packages = (pkgs.callPackage ./pkgs/krops { |
There was a problem hiding this comment.
We flakes you can build stuff like:
$ nix run 'github:Mic92/dotfiles#deploy.eve`
https://github.com/Mic92/dotfiles/blob/master/flake.nix#L55
https://github.com/Mic92/dotfiles/blob/master/nixos/krops.nix#L18
|
Any updates on this? Would be great to be able to use krops as a flake without needing a fork. |
There is no progress, yet. The main reason for that being that nobody maintaining this particular repository is using flakes at the moment. That said, we do eventually want to support flakes here, too.
What's wrong with using forks? There's nothing special about this repository besides being a mirror of the first public krops repository. Using @Mic92's fork or even rolling your own is a perfectly valid thing to do. Once this issue gets closed (you will probably get notified as participant), you can freely switch back to this repository if you feel a need to do so. NB we do eventually want converge all compatible forks, but doing so has no priority. |
No description provided.