Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Create a working flake.nix #9952

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,5 @@
.*sw?
.DS_Store
.stack-work
/.direnv
/result
10 changes: 10 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,16 @@ examples, see <https://github.com/pandoc/pandoc-action-example>.
Pandoc can be run through [GitLab CI/CD]. For some
examples, see <https://gitlab.com/pandoc/pandoc-ci-example>.

## Nix

Pandoc can be built and run using Nix. First, [install Nix](https://nixos.asia/en/install), and then:

```sh
nix run github:jgm/pandoc
```

To learn about basic Nix commands, see [this introduction](https://nixos.asia/en/nix-first).

## Compiling from source

If for some reason a binary package is not available for your
Expand Down
9 changes: 5 additions & 4 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
packages: .
pandoc-lua-engine
pandoc-server
pandoc-cli
packages:
.
pandoc-lua-engine
pandoc-server
pandoc-cli
tests: True
flags: +embed_data_files
constraints: skylighting-format-blaze-html >= 0.1.1.2,
Expand Down
187 changes: 163 additions & 24 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading