FliegendeWurst / KIT-ILIAS-downloader

Downloader for https://ilias.studium.kit.edu/
GNU General Public License v3.0
42 stars 9 forks source link

Init nix flake, fix build, add clippy+rustfmt #45

Closed Ma27 closed 1 year ago

Ma27 commented 1 year ago

So long story short I had this package in my local nixpkgs overlay, but unfortunately using git dependencies with rustPlatform.buildRustPackage became rather painful after the switch to rustc 1.68. Anyways things escalated a bit, but I figured that some of the patches at least may be useful for you.


My main motivation was to have a nice dev environment + convenient way to build this beautiful project and to rebase all changes from this repo into my fork for now. Since you're also using Nix(OS) I figured that not only the build fix, but also the flake stuff may be of interest for you, so I filed a PR for all of that. Just cherry-pick whatever you'd like if you want to :sweat_smile:

Note: I haven't updated CI and all of that since the current state is good-enough for me currently.

cc @FliegendeWurst

FliegendeWurst commented 1 year ago

Thanks for the changes and fixes! I haven't used Nix flakes before, but at a glance your flake.nix looks good. I will try it out later.