No description
Find a file
Profpatsch 6db1fe885f fix(fetch.py): when fetch is run, first update unstable channel
This way we won’t forget to do it for months at a time.

You’d hope that stuff like this would be possible without jumping
through hoops, but this is nix after all. Flakes our salvation or
something.
2020-11-30 23:33:52 +01:00
.github/workflows .github: remove nix channel, is fetched explicitly 2020-11-30 22:53:17 +01:00
build.nix test(*): automatically check all binaries, based on binNames 2020-11-06 11:59:44 +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 chore(*): <nixpkgs> -> ./nixpkgs.nix 2020-11-30 22:50:55 +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 chore(*): <nixpkgs> -> ./nixpkgs.nix 2020-11-30 22:50:55 +01:00
dhall-yaml-simple.nix chore(*): <nixpkgs> -> ./nixpkgs.nix 2020-11-30 22:50:55 +01:00
fetch.py fix(fetch.py): when fetch is run, first update unstable channel 2020-11-30 23:33:52 +01:00
LICENSE license 2018-12-08 17:36:09 +02:00
nixpkgs.json fix(fetch.py): when fetch is run, first update unstable channel 2020-11-30 23:33:52 +01: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 1.36.0 2020-11-06 11:58:48 +01: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.