mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 00:10:52 +00:00
f508d7c6ab
* fix(main/nim): Update os.nim.patch to patch osappdirs.nim instead * chore(main/nim): Remove old os.nim patch file * chore(main/nim): Remove pkg revision
13 lines
609 B
Diff
13 lines
609 B
Diff
diff '--color=auto' -ruN nim-2.0.0/lib/std/private/osappdirs.nim nim-2.0.0.mod/lib/std/private/osappdirs.nim
|
|
--- nim-2.0.0/lib/std/private/osappdirs.nim 2023-08-01 11:01:01.000000000 +1000
|
|
+++ nim-2.0.0.mod/lib/std/private/osappdirs.nim 2023-08-02 21:24:16.860918174 +1000
|
|
@@ -168,7 +168,7 @@
|
|
let buffer = newWideCString(size.int)
|
|
if getTempPath(size, buffer) > 0:
|
|
result = $buffer
|
|
- elif defined(android): result = "/data/local/tmp"
|
|
+ elif defined(android): result = "@TERMUX_PREFIX@/tmp"
|
|
else:
|
|
getTempDirImpl(result)
|
|
if result.len == 0:
|