···303303packaging Dhall code. For example:
304304305305```ShellSession
306306-$ nix-env --install --attr haskellPackages.dhall-nixpkgs
307307-308308-$ nix-env --install --attr nix-prefetch-git # Used by dhall-to-nixpkgs
309309-310310-$ dhall-to-nixpkgs github https://github.com/Gabriella439/dhall-semver.git
306306+$ nix-shell -p haskellPackages.dhall-nixpkgs nix-prefetch-git
307307+[nix-shell]$ dhall-to-nixpkgs github https://github.com/Gabriella439/dhall-semver.git
311308{ buildDhallGitHubPackage, Prelude }:
312309 buildDhallGitHubPackage {
313310 name = "dhall-semver";
···324321 dependencies = [ (Prelude.overridePackage { file = "package.dhall"; }) ];
325322 }
326323```
324324+325325+:::{.note}
326326+`nix-prefetch-git` has to be in `$PATH` for `dhall-to-nixpkgs` to work.
327327+:::
327328328329The utility takes care of automatically detecting remote imports and converting
329330them to package dependencies. You can also use the utility on local