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?

  • Silver GoldenA
    link
    fedilink
    English
    510 months ago

    Maybe try submitting patches to the source project or nixpkgs?

    • @rutrum@lm.paradisus.dayOP
      link
      fedilink
      English
      110 months ago

      I’ve thought about submitting to the source but I imagine that dumping two files in the root directory for a build tool that the devs don’t use or even know about is a hard PR to get merged. But maybe that’s not even the optimal way to distribute flakes, and it ought to be in a different place altogether, like nixpkgs or flakehub.