Commit Graph
21 Commits
Author SHA1 Message Date
John MacFarlane fd98ee38b7 flake: remove straight-to-hackage workaround...
now that all-cabal-hashes is being updated again.
2026-08-14 09:02:11 -07:00
John MacFarlane 4f6f32a688 flake.nix: add direct Hackage dependencies.
This is currently needed because all-cabal-hashes hasn't been updated
for several days.
2026-08-12 10:03:58 -07:00
John MacFarlane eade305c71 Revamp flake.nix to use haskell.nix.
This allows the project to be built using `nix build` and run
using `nix run`.

The basis for this is @srid's work in #11707, with some
simplifications and improvements added on.

stack.yaml is used as a source of truth for the versions to use,
including for git repositories.

Closes #11707.
2026-07-18 15:55:56 +02:00
John MacFarlane 48cb073500 flake.nix - mostly cosmetic cleanup 2026-02-01 14:50:50 +01:00
John MacFarlane 4b26f50118 Add support for compiling pandoc.wasm.
'make pandoc.wasm' will compile a wasm version of pandoc.

This also adds a 'repl' flag to pandoc-lua-engine, so that
support for a Lua repl can be disabled for the wasm build.

A new wasm directory contains:

- pandoc.js, a JavaScript wrapper for pandoc.wasm
- index.html + index.js, a web app exposing all of pandoc's
  functionality in a GUI interface
- a set of illustrative examples that can be loaded from the web app

Most of the code in index.html and index.js has been produced in
interaction with Claude code.
2026-02-01 14:50:50 +01:00
Lima User d8fcdbbd22 Add gnumake and unzip to flake.nix 2026-01-23 23:33:57 +01:00
John MacFarlane cbdb72eecd flake.nix; provide profiterole, profiteur, eventlog2html. 2026-01-02 20:46:38 -05:00
John MacFarlane 6c3eebbb44 Update flake.nix to include zlib.dev. 2025-06-16 10:39:58 -07:00
John MacFarlane cc4ccb07e3 flake.nix: improve comments about overriding dependencies. 2025-05-17 09:42:15 -07:00
John MacFarlane 9a09ed52ad flake.nix: add stylish-haskell. 2025-05-11 11:04:06 -07:00
John MacFarlane ab67c02359 flake.nix: more dependencies for tests 2025-05-11 11:01:40 -07:00
John MacFarlane 04f27deaf5 flake.nix: add weeder, cabal-plan, hpc. 2025-05-11 10:42:00 -07:00
John MacFarlane 5d0a395ed9 Flake - require ripgrep. 2025-05-11 10:38:14 -07:00
John MacFarlane 1f2675e4bb flake.nix; ensure epubcheck is present. 2025-05-11 10:31:19 -07:00
John MacFarlane 6a1679921b Declare git in flake.nix
Otherwise it isn't found when we look for it in the Makefile.
2025-05-08 11:19:54 -07:00
John MacFarlane 379bc43cfa flake.nix - include commented out example of overrides. 2025-05-04 12:50:46 -07:00
John MacFarlane 07172ed07d New working flake.nix. 2025-05-04 10:57:22 -07:00
piq9117 138613156a update nix flake with deps 2023-09-16 00:00:50 -07:00
John MacFarlane cfbf83c3d5 Simplify and fix flake.nix.
We don't need the workarounds any more.
We no longer include pandoc-cli, pandoc-server, or pandoc-lua-engine
in the packages. Instead, add some of the heavier dependencies to
the list of build inputs.

This is at least a temporary solution to #8818.
2023-05-09 12:37:13 -07:00
John MacFarlane b8ce955e67 Improve flake.nix. 2023-03-08 21:38:20 -08:00
John MacFarlane c879fed90c Add flake.nix. 2023-03-08 11:15:17 -08:00