gabrielzschmitz / Tomato.C

A pomodoro timer written in pure C.
GNU General Public License v3.0
316 stars 20 forks source link

Added support for nix flakes #23

Closed luftmensch-luftmensch closed 1 year ago

luftmensch-luftmensch commented 1 year ago

As title suggested I thought It would be nice to add support for nix-flakes

luisnquin commented 1 year ago

It would be nice to have both default.nix and flake.nix in order to support older versions of Nix

luftmensch-luftmensch commented 1 year ago

Yeah sure, you could maintain both of them

luisnquin commented 1 year ago

Sorry I just noticed that you didn't deleted the default.nix haha but a better approach is to import the file from your flake.nix instead of copy-pasting the content of the original file

luftmensch-luftmensch commented 1 year ago

As you can see i used the directives from the default.nix updated with the built-in function fetchFromGitHub

I also updated the README and make code formatting

luisnquin commented 1 year ago

Two things:

After that changes everything looks good to me @gabrielzschmitz

Soon I'll add a CI to keep the default.nix file updated