@@ -53,10 +53,9 @@ let
53 lines = s: filter (x : x != [] && x != "") (split "\n" s);
53 lines = s: filter (x : x != [] && x != "") (split "\n" s);
55 origSrcSubDir = toString (src.origSrcSubDir or src);
55 origSrcSubDir = toString (src.origSrcSubDir or src);
56− directoryExists = path: builtins.pathExists (builtins.toPath path + "/.");
59−if directoryExists (origSrcSubDir + "/.git")
58+if builtins.pathExists (origSrcSubDir + "/.git")
62 hasIndex = builtins.pathExists (origSrcSubDir + "/.git/index");
61 hasIndex = builtins.pathExists (origSrcSubDir + "/.git/index");