git.iko.soy/typeable/nixpkgs
on master help sign in
nix-prefetch-git: fix extraction of submodule hashes on latest git
0e95bedWill Dietz
pkgs/build-support/fetchgit/nix-prefetch-git+1−1
@@ -184,7 +184,7 @@ init_submodules(){
184 local url
184 local url
185
185
186 # checkout each submodule
186 # checkout each submodule
187− hash=$(echo "$l" | awk '{print substr($1,2)}')
187+ hash=$(echo "$l" | awk '{print $1}' | tr -d '-')
188 dir=$(echo "$l" | awk '{print $2}')
188 dir=$(echo "$l" | awk '{print $2}')
189 name=$(
189 name=$(
190 git config -f .gitmodules --get-regexp submodule\..*\.path |
190 git config -f .gitmodules --get-regexp submodule\..*\.path |