Commit Graph
16 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 a58bec7e48 Update flake.lock 2026-07-21 19:19:36 +02:00
John MacFarlane dd0cd4096c Update flake.lock 2026-07-21 17:05:16 +02:00
John MacFarlane 6df62cb613 Add Makefile rule to update all-cabal-hashes in flake.lock. 2026-07-21 09:23:31 +02: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 833626838e Update flake.lock. 2026-06-05 13:52:07 +02: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 7dafc1a8e5 flake.lock update 2026-01-07 11:21:50 +01:00
John MacFarlane ff3eda71eb Update flake. 2025-12-11 23:38:56 +01:00
John MacFarlane edc99d4ad5 Update flake.lock. 2025-05-12 10:19:16 -07:00
John MacFarlane 07172ed07d New working flake.nix. 2025-05-04 10:57:22 -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