Skip to content

Commit 0e5580e

Browse files
committed
Add --noNimblePath option to nimble.paths file
Related to #948
1 parent 533af85 commit 0e5580e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nimble.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,7 @@ proc updateSyncFile(dependentPkg: PackageInfo, options: Options)
12921292

12931293
proc updatePathsFile(pkgInfo: PackageInfo, options: Options) =
12941294
let paths = pkgInfo.getDependenciesPaths(options)
1295-
var pathsFileContent: string
1295+
var pathsFileContent = "--noNimblePath\n"
12961296
for path in paths:
12971297
pathsFileContent &= &"--path:{path.escape}\n"
12981298
var action = if fileExists(nimblePathsFileName): "updated" else: "generated"

0 commit comments

Comments
 (0)