This repo is trying to reproduce an issue with fetching some git submodules which breaks determinism of pkgs.fetchgit.
pkgs.fetchgit