Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ dhallPackages, fetchFromGitHub }: 2 3# This file tests that dhallPackages.generateDhallDirectoryPackage works. 4# 5# TODO: It would be nice to extend this test to make sure that the resulting 6# Nix file has the expected contents, but it might be tough to do that easily 7# without IFD. 8 9dhallPackages.generateDhallDirectoryPackage { 10 src = fetchFromGitHub { 11 owner = "cdepillabout"; 12 repo = "example-dhall-nix"; 13 rev = "e6a675c72ecd4dd23d254a02aea8181fe875747f"; 14 sha256 = "sha256-c/EZq76s/+hmLkaeJWKqgh2KrHuJRYI6kWry0E0YQ6s="; 15 }; 16 file = "mydhallfile.dhall"; 17}