How to add my Haskell project in nix store?

Hi ! I want to know how can I add my Haskell project in nix store for all persons to install with nix. :slight_smile:

My project :

  1. Write a nix derivative
  2. Clone GitHub - NixOS/nixpkgs: Nix Packages collection
  3. Add your derivative to the repo
  4. Commit and create a pull request

There’s also an alternative way:

  1. Create your personal NUR repository
  2. Add your derivative there
  3. People who use NUR will be able to install your program with nix-env -iA nixos.nur.<repo name>.hastecli

the haskell ecosystem specifically is pulled from hackage. If you get your package on hackage, it will eventually appear in nixpkgs.