No description
Find a file
2021-08-23 09:44:37 +03:00
.github/workflows feat(ci): run tests on MacOS 2020-12-01 23:41:09 +01:00
build.nix Update dhall to 1.38 2021-03-12 23:48:29 +01:00
default.nix chore(*): <nixpkgs> -> ./nixpkgs.nix 2020-11-30 22:50:55 +01:00
dhall-bash-simple.nix chore(*): <nixpkgs> -> ./nixpkgs.nix 2020-11-30 22:50:55 +01:00
dhall-docs-simple.nix feat(build.nix): add man page for dhall & dhall-docs on MacOS 2020-12-01 23:41:09 +01:00
dhall-json-simple.nix chore(*): <nixpkgs> -> ./nixpkgs.nix 2020-11-30 22:50:55 +01:00
dhall-lsp-simple.nix chore(*): <nixpkgs> -> ./nixpkgs.nix 2020-11-30 22:50:55 +01:00
dhall-nix-simple.nix chore(*): <nixpkgs> -> ./nixpkgs.nix 2020-11-30 22:50:55 +01:00
dhall-simple.nix feat(build.nix): add man page for dhall & dhall-docs on MacOS 2020-12-01 23:41:09 +01:00
dhall-yaml-simple.nix chore(*): <nixpkgs> -> ./nixpkgs.nix 2020-11-30 22:50:55 +01:00
fetch.py fix(build.nix): use fetchurl instead of fetchzip 2020-12-01 23:41:09 +01:00
LICENSE license 2018-12-08 17:36:09 +02:00
nixpkgs.json Update to dhall 1.40.0 2021-08-23 09:44:37 +03:00
nixpkgs.nix fix(fetch.py): when fetch is run, first update unstable channel 2020-11-30 23:33:52 +01:00
README.md chore(*): <nixpkgs> -> ./nixpkgs.nix 2020-11-30 22:50:55 +01:00
release.json Update to dhall 1.40.0 2021-08-23 09:44:37 +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.nix chore(*): <nixpkgs> -> ./nixpkgs.nix 2020-11-30 22:50:55 +01:00
test.sh chore(test.sh): drop result link with trap 2020-11-30 22:53:17 +01:00

Easy Dhall Nix

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

Trial

You can 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 {}

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

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.