Support empty hash in fetchers
fetchTarball, fetchTree, and fetchGit all have *optional* hash attrs. This means that we need to be careful with what we allow to avoid accidentally making these defaults. When ‘hash = ""’ we assume the empty hash is wanted.
Showing
- src/libexpr/primops.cc 8 additions, 3 deletionssrc/libexpr/primops.cc
- src/libexpr/primops/fetchTree.cc 8 additions, 3 deletionssrc/libexpr/primops/fetchTree.cc
- src/libfetchers/fetchers.cc 8 additions, 3 deletionssrc/libfetchers/fetchers.cc
- src/libfetchers/tarball.cc 8 additions, 3 deletionssrc/libfetchers/tarball.cc
Loading
Please register or sign in to comment