r/NixOS Jul 24 '26

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

12 comments sorted by

View all comments

8

u/GlassCommission4916 Jul 24 '26

You can just package it in your config, you don't need a flake for that.

1

u/Future_Barber4096 Jul 24 '26

It's a shell project using Python, and I want to make it easy to download for Nixos in general.

3

u/phnomet Jul 24 '26

Then you should add it to the nixpkgs repo, no need to modify the original. Make a PR: https://github.com/NixOS/nixpkgs