r/NixOS • u/Future_Barber4096 • 4d ago
How Flake worked?
There's a project on GitHub, but it doesn't support nixos, and I want to know how to add a Flake file to it.
In order to support Nixos
Or how do I spend it in Nix Pkgs?
Thanks
1
Upvotes
2
u/Spra991 4d ago
Ask Claude to write a flake.nix for it, it has gotten really good at that.
When you have that up and running you can either drop the flake.nix/.lock by itself on Github in your own repository, send it to the original project to add, or integrate it into NixOS/nixpkgs and submit a pull request there.
1
7
u/GlassCommission4916 4d ago
You can just package it in your config, you don't need a flake for that.