this post was submitted on 08 Sep 2023
6 points (100.0% liked)

NixOS

232 readers
1 users here now

NixOS is a Linux distribution built on top of the Nix package manager. Its declarative configuration allows reliable system upgrades via several official channels of stability and size.

This community discusses NixOS, Nix, and everything related.

founded 1 year ago
MODERATORS
 

Every now and then I see a program that doesn't have a default.nix or flake.nix in the source, doesn't have an entry in nixpkgs, and otherwise can't find a derivation for. So I write them myself.

What's the best way to share these? Should I contribute to nixpkgs? (does this count if I'm making flakes?) Do I maintain a single repo for each program? Or do I create a repo with a collection of flakes? Something else?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Cyberflunk 3 points 1 year ago (1 children)

Couldn't you just publish to a git repo?

nix run github:your-username/your-repo
[โ€“] [email protected] 1 points 1 year ago

This is certainly an option, just wondering whats done most in practice. Right now this is what my own flakes do.