Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FUTO.MDNS Flake #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

danthony28
Copy link

I've written and tested a flake.nix for FUTO.MDNS

It appears to build FUTO.MDNS as Grayjay.ClientServer expects, but I can't be sure until I test it on Grayjay.Desktop/Grayjay.ClientServer/flake.nix. If someone with more knowledge of dotnet's intricacies (and .csproj files in partilcular, namely Grayjay.ClientServer.csproj) could verify this, I would appreciate it very much.

You can replicate this build to your own satisfaction by running nix build from the repo's root or running nix build github:danthony28/FUTO.MDNS/flake-futo-mdns from pretty much anywhere and digging through the result symlink. My intentions are to use this derivation as-is in the way dotnet build, dotnet publish, etc. expect in the flake.nix for Grayjay.ClientServer; ideally straight from nixpkgs but it's just a flake for now.

I'll commit the lockfile once everything is verified to be working as dotnet expects on Grayjay.ClientServer (not just as I expect).

Note

To the maintainers

I'll be following the "branch stacking" convention for these flakes, so it may be more convenient to merge a different branch, which should be mentioned below. I'll do my best to specifically comment when a branch shouldn't be merged into master (this is usually because it will cause messy conflicts down the road).

Warning

alejandra.toml support is experimental!

Alejandra, my formatter of choice, only added support for alejandra.toml in v3.1.0. All branches of nixpkgs are up-to-date (i.e., package v3.1.0 of alejandra) but your system's software repository may differ. You can run alejandra --version to be sure.

@danthony28 danthony28 changed the title add FUTO.MDNS flake.nix Add FUTO.MDNS Flake Dec 29, 2024
flake.nix Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant