Find a file
2024-06-29 13:35:02 +12:00
.gitignore initial 2024-06-29 13:35:02 +12:00
flake.lock initial 2024-06-29 13:35:02 +12:00
flake.nix initial 2024-06-29 13:35:02 +12:00
overlay.nix initial 2024-06-29 13:35:02 +12:00
packages.nix initial 2024-06-29 13:35:02 +12:00
README.md first commit 2024-06-29 13:32:35 +12:00
utils.nix initial 2024-06-29 13:35:02 +12:00

Thorn Avery's Haskell Repo

this flake contains the package management infastructure for building my haskell applications and libraries.

all items in the packages output will be avaliable to cabal when building, and thus can be included in cabal files as if they existed on hackage.

adding an entry

first, add the repository containing the item to the inputs of the flake. it must have a .cabal file in the root directory.

.
├── hello-world.cabal
└── src
    └── Main.hs
hello-world = {
  url = "git+ssh://gitea@git.p7.co.nz/thornAvery/hello-world.git";
  flake = false;
};

finally, add an entry to ./packages.nix containing the attribute path to the input:

inputs: [
  inputs.hello-world
]