diff --git a/source/dub/commandline.d b/source/dub/commandline.d index 9c2eb32..49a2bc7 100644 --- a/source/dub/commandline.d +++ b/source/dub/commandline.d @@ -1686,7 +1686,7 @@ if (subp.path.length) { auto sub_path = base_path ~ Path(subp.path); auto pack = prj.packageManager.getOrLoadPackage(sub_path); - fixPathDependencies(pack.info, sub_path); + fixPathDependencies(pack.recipe, sub_path); pack.storeInfo(sub_path); } else fixPathDependencies(subp.recipe, base_path); } @@ -1701,7 +1701,7 @@ copyFolderRec(pack.path, dst_path); // adjust all path based dependencies - fixPathDependencies(pack.info, dst_path); + fixPathDependencies(pack.recipe, dst_path); // overwrite package description file with additional version information pack.storeInfo(dst_path); diff --git a/source/dub/compilers/utils.d b/source/dub/compilers/utils.d index 8fda118..e3638f1 100644 --- a/source/dub/compilers/utils.d +++ b/source/dub/compilers/utils.d @@ -111,7 +111,7 @@ version (Posix) { import std.algorithm : any, map, partition, startsWith; - import std.array : join, split; + import std.array : array, join, split; import std.exception : enforce; import std.process : execute; @@ -380,6 +380,7 @@ BuildPlatform readPlatformProbe(string output) { import std.algorithm : map; + import std.array : array; import std.exception : enforce; import std.string;