···11+{ dhallPackages, fetchFromGitHub }:
22+33+# This file tests that dhallPackages.generateDhallDirectoryPackage works.
44+#
55+# TODO: It would be nice to extend this test to make sure that the resulting
66+# Nix file has the expected contents, but it might be tough to do that easily
77+# without IFD.
88+99+dhallPackages.generateDhallDirectoryPackage {
1010+ src = fetchFromGitHub {
1111+ owner = "cdepillabout";
1212+ repo = "example-dhall-nix";
1313+ rev = "e6a675c72ecd4dd23d254a02aea8181fe875747f";
1414+ sha256 = "sha256-c/EZq76s/+hmLkaeJWKqgh2KrHuJRYI6kWry0E0YQ6s=";
1515+ };
1616+ file = "mydhallfile.dhall";
1717+}