1{ dhallPackages }:
2
3# This file tests that dhallPackages.buildDhallUrl is able to successfully
4# build a Nix Dhall package for a given remote Dhall import.
5#
6# TODO: It would be nice to extend this test to make sure that the resulting
7# Nix Dhall package is has the expected contents.
8
9dhallPackages.buildDhallUrl {
10 url = "https://raw.githubusercontent.com/cdepillabout/example-dhall-nix/e6a675c72ecd4dd23d254a02aea8181fe875747f/mydhallfile.dhall";
11 hash = "sha256-434x+QjHRzuprBdw0h6wmwB1Zj6yZqQb533me8XdO4c=";
12 dhallHash = "sha256-434x+QjHRzuprBdw0h6wmwB1Zj6yZqQb533me8XdO4c=";
13 source = true;
14}