def nar
import ezx@1.11.0.0/src/git/exec.bend as Execimport Base
import ezx@1.11.0.0/src/sha/dump.bend as Dump
56# the NAR hash nix rebuilds the checkout by. `fetchgit` hashes the working
57# tree with its `.git` taken off, so that is what is weighed here and the
58# caller strips `.git` before asking. Computed in Bend; nix is not required.
59def nar(+work: String) -> IO(String):
60 Dump.path(work)