glob2: Refactor to use mkDerivation