An open API service indexing awesome lists of open source software.

https://github.com/marcuswhybrow/pagefind

Nix package for Pagefind pre-built releases
https://github.com/marcuswhybrow/pagefind

nix nixpkgs nixpkgs-overlay pagefind

Last synced: 5 months ago
JSON representation

Nix package for Pagefind pre-built releases

Awesome Lists containing this project

README

        

Unofficial Nix flake for [Pagefind](https://pagefind.app).

```
nix run github:marcuswhybrow/pagefind
nix run github:marcuswhybrow/pagefind#pagefind_extended
```

For use in your own flake:

```
{
description = "Example website that uses Pagefind";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
pagefind.url = "github:marcuswhybrow/pagefind";
};

outputs = let
pkgs = import inputs.nixpkgs {
system = "x86_64-linux";
overlays = [inputs.pagefind.overlays.default];
};
in {
packages.x86_64-linux.exampleWebsite = pkgs.mkDerivation {
pname = "Example Website";
version = "1.0.0";
src = ./.;

buildPhase = ''
${pkgs.pagefind}/bin/pagefind --site ./your_site_location
'';
};
});
}

```