depot/pkgs/by-name/xc/xcaddy/use_tmpdir_on_darwin.diff
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

13 lines
580 B
Diff

diff --git a/builder.go b/builder.go
index ed6c5ef..36e8055 100644
--- a/builder.go
+++ b/builder.go
@@ -200,7 +200,7 @@ func NewReplace(old, new string) Replace {
// It is the caller's responsibility to remove the folder when finished.
func newTempFolder() (string, error) {
var parentDir string
- if runtime.GOOS == "darwin" {
+ if false && runtime.GOOS == "darwin" {
// After upgrading to macOS High Sierra, Caddy builds mysteriously
// started missing the embedded version information that -ldflags
// was supposed to produce. But it only happened on macOS after