I get told to shut up a lot by my friend. This is the microsite that documents this in detail. shutup.jp
postcards microsite

build: ensure nix can find proj

This feels unnecessary. I'll need to dive into Nix to figure out why this is needed.

Changed files
+10 -3
.tangled
workflows
+10 -3
.tangled/workflows/deploy.yaml
··· 16 16 - curl 17 17 # My dependencies 18 18 - go 19 - - proj 19 + - proj.dev 20 20 - libwebp 21 21 # CGo 22 - - gcc 23 - - gnumake 22 + - stdenv.cc 24 23 - pkg-config 25 24 26 25 environment: ··· 28 27 WISP_HANDLE: byjp.me 29 28 30 29 steps: 30 + - name: Setup CGO environment 31 + command: | 32 + export PKG_CONFIG_PATH="$(pkg-config --variable pc_path pkg-config)" 33 + for pkg in proj libwebp; do 34 + export PKG_CONFIG_PATH="$(find /nix/store -name "$pkg.pc" -exec dirname {} \; | head -1):$PKG_CONFIG_PATH" 35 + done 36 + export CGO_ENABLED=1 37 + 31 38 - name: Build site 32 39 command: go run . 33 40