Go to file
Fabrizio Ferrai eb1297af3e Update to dhall-1.35 2020-09-11 22:50:07 +03: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 Dhall LSP releases 2020-03-27 11:32:53 -04:00
dhall-bash-simple.nix feat(build): allow multiple binaries 2020-08-04 23:06:03 +02: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 add dhall-to-yaml-ng 2020-01-24 14:48:58 +00:00
test.bash dhall yaml binary name was changed for some reason 2020-02-05 21:59:39 +02: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.