mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 09:54:49 +00:00
distros.nim: brew usually requires 'sudo'
This commit is contained in:
@@ -232,7 +232,7 @@ proc foreignDepInstallCmd*(foreignPackageName: string): (string, bool) =
|
||||
elif defined(haiku):
|
||||
result = ("pkgman install " & p, true)
|
||||
else:
|
||||
result = ("brew install " & p, false)
|
||||
result = ("brew install " & p, true)
|
||||
|
||||
proc foreignDep*(foreignPackageName: string) =
|
||||
## Registers 'foreignPackageName' to the internal list of foreign deps.
|
||||
|
||||
Reference in New Issue
Block a user