{ description = "A very basic flake"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs"; flake-utils.url = "github:numtide/flake-utils"; dhall-haskell = { url = "https://github.com/darkkirb/dhall-haskell"; flake = false; type = "git"; submodules = true; ref = "nix-hotfix"; }; }; outputs = { self, nixpkgs, flake-utils, dhall-haskell, }: flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs {inherit system; overlays = [ self.overlays.${system}.default ];}; in { formatter = pkgs.alejandra; packages = rec { inherit (import "${dhall-haskell}/nix/shared.nix" { inherit system; }) dhall dhall-nix dhall-nixpkgs; }; overlays.default = (_: _: self.packages.${system}); devShells.default = pkgs.mkShell { nativeBuildInputs = [ self.packages.${system}.dhall self.packages.${system}.dhall-nix]; }; lib.dhallToNix = import ./dhallToNix.nix {inherit pkgs;}; }); }