Go to file
Profpatsch 3eec0cfb18 fix(tests): add lsp & docs to tests
We should make the test auto-discover which executables to search for.
Maybe even have some functional tests which run the executables.
2020-11-06 11:33:56 +01:00
.github/workflows fixup! Using install-nix-actions per Justin's advice 2020-07-03 10:36:48 +01:00
LICENSE license 2018-12-08 17:36:09 +02:00
README.md update 1.31 2020-03-29 22:29:08 +02:00
build.nix feat(build): allow multiple binaries 2020-08-04 23:06:03 +02:00
default.nix Add dhall-docs-simple 2020-11-03 19:02:00 +00:00
dhall-bash-simple.nix feat(build): allow multiple binaries 2020-08-04 23:06:03 +02:00
dhall-docs-simple.nix Add dhall-docs-simple 2020-11-03 19:02:00 +00:00
dhall-json-simple.nix feat(dhall-json): use build.nix 2020-08-04 23:06:03 +02:00
dhall-lsp-simple.nix feat(build): allow multiple binaries 2020-08-04 23:06:03 +02:00
dhall-nix-simple.nix feat(build): allow multiple binaries 2020-08-04 23:06:03 +02:00
dhall-simple.nix feat(build): allow multiple binaries 2020-08-04 23:06:03 +02:00
dhall-yaml-simple.nix feat(build): allow multiple binaries 2020-08-04 23:06:03 +02:00
fetch.py Switch to using fetchzip instead of fetchurl 2020-07-12 20:42:28 +02:00
nixpkgs.nix don't run dhall-nix on osx 2019-09-24 12:14:11 -04:00
release.json Update to dhall-1.35 2020-09-11 22:50:07 +03:00
release.nix update 1.31 2020-03-29 22:29:08 +02:00
shell.nix fix(tests): add lsp & docs to tests 2020-11-06 11:33:56 +01:00
test.bash fix(tests): add lsp & docs to tests 2020-11-06 11:33:56 +01:00

README.md

Easy Dhall Nix

Derivations for easily downloading Dhall binaries and putting them to use.

Trial

You cn get an appropriate nix-shell with the binaries installed by first testing this with:

nix-shell

Installation

You might choose to simply copy the derivations from this repository, or you can fetch the git/Github repo using the various helpers:

> nix repl
nix-repl> pkgs = import <nixpkgs> {}

nix-repl> drvs = import (pkgs.fetchFromGitHub {
  owner = "justinwoo";
  repo = "easy-dhall-nix";
  rev = # some REV
  sha256 = # some SHA
}) {}

nix-repl> drvs.dhall-simple
«derivation /nix/store/qz29jbplpmlvsbmq05084dh1fbs8sl0h-dhall-simple.drv»

NixOS: Contributors needed

The derivations here have been tested by others to work on NixOS. If you have problems, open an issue.

Update this repository

To update, run

./fetch.py

from the root of this repository. It will prefetch the binaries from the latest dhall release on Github.