Commit b39884c
committed
Fix Windows cross-build: tzdata chmod ordering, ngtcp2 examples
tzdata: stdenv's unpackPhase runs `chmod -R u+w "$sourceRoot"` BEFORE
postUnpack, so the previous fix (creating tzdata-src in postUnpack)
failed because chmod ran on a nonexistent directory. Fix: set
dontMakeSourcesWritable=true and run chmod manually in postUnpack.
ngtcp2: examples include POSIX-only headers (sys/socket.h, sys/un.h)
that don't exist on Windows (same class of issue as nghttp3). Disable
examples with ENABLE_EXAMPLES=OFF.1 parent d448991 commit b39884c
1 file changed
Lines changed: 16 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
71 | 69 | | |
72 | 70 | | |
| 71 | + | |
73 | 72 | | |
74 | 73 | | |
75 | | - | |
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
79 | 77 | | |
80 | 78 | | |
81 | 79 | | |
| 80 | + | |
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
| |||
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
109 | 117 | | |
110 | 118 | | |
111 | 119 | | |
| |||
0 commit comments