No description
Find a file
aszlig 65a30e2c0c
Switch to using fetchzip instead of fetchurl
GitHub's source tarballs are created in a non-deterministic way and the
order the entries are added is not stable.

In nixpkgs, there is fetchFromGitHub which works around this issue by
being a wrapper around fetchzip and since we're already using the full
URL to the corresponding GitHub archives, I switched to fetchzip instead
to keep the changes minimal.

Signed-off-by: aszlig <aszlig@nix.build>
2020-07-12 20:42:28 +02:00
.github/workflows fixup! Using install-nix-actions per Justin's advice 2020-07-03 10:36:48 +01:00
default.nix Dhall LSP releases 2020-03-27 11:32:53 -04:00
dhall-bash-simple.nix Switch to using fetchzip instead of fetchurl 2020-07-12 20:42:28 +02:00
dhall-json-simple.nix Switch to using fetchzip instead of fetchurl 2020-07-12 20:42:28 +02:00
dhall-lsp-simple.nix Switch to using fetchzip instead of fetchurl 2020-07-12 20:42:28 +02:00
dhall-nix-simple.nix Switch to using fetchzip instead of fetchurl 2020-07-12 20:42:28 +02:00
dhall-simple.nix Switch to using fetchzip instead of fetchurl 2020-07-12 20:42:28 +02:00
dhall-yaml-simple.nix Switch to using fetchzip instead of fetchurl 2020-07-12 20:42:28 +02:00
fetch.py Switch to using fetchzip instead of fetchurl 2020-07-12 20:42:28 +02:00
LICENSE license 2018-12-08 17:36:09 +02:00
nixpkgs.nix don't run dhall-nix on osx 2019-09-24 12:14:11 -04:00
README.md update 1.31 2020-03-29 22:29:08 +02:00
release.json Switch to using fetchzip instead of fetchurl 2020-07-12 20:42:28 +02: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

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.