3 files changed,
+8,
-3
+5,
-2
1@@ -70,7 +70,7 @@
2
3 # Compute by running: nix build .#rtw
4 # Then copy the hash from the error message
5- vendorHash = lib.fakeHash;
6+ vendorHash = "sha256-EzV57oX4Wgvn1KITyoBwycE0pt3QMj6IpK+8v6ndczs=";
7
8 doCheck = false;
9
10@@ -78,10 +78,13 @@
11 GOWORK = "off";
12 };
13
14- preBuild = ''
15+ # postConfigure runs after the vendor directory is set up from goModules
16+ # but is NOT inherited by the goModules derivation (unlike preBuild).
17+ postConfigure = ''
18 # go mod vendor does not copy the ygo lib/ directory (C headers and
19 # static libraries) because it contains no Go files. We inject them
20 # from the full git source here so CGo can find libyrs.h and libyrs.a.
21+ chmod -R +w vendor
22 mkdir -p vendor/git.kilimanjaro.io/ygo/lib
23 cp -r ${ygo}/lib/* vendor/git.kilimanjaro.io/ygo/lib/
24 '';
+1,
-1
1@@ -3,7 +3,7 @@ module git.kilimanjaro.io/rtw
2 go 1.26
3
4 require (
5- git.kilimanjaro.io/ygo v0.0.0-20260503090516-faf2a9df4d2a
6+ git.kilimanjaro.io/ygo v0.0.0-20260528001641-078700e025b9
7 github.com/alexedwards/argon2id v1.0.0
8 github.com/bits-and-blooms/bloom v2.0.3+incompatible
9 github.com/coder/websocket v1.8.14
+2,
-0
1@@ -4,6 +4,8 @@ aidanwoods.dev/go-result v0.3.1 h1:ee98hpohYUVYbI+pa6gUHTyoRerIudgjky/IPSowDXQ=
2 aidanwoods.dev/go-result v0.3.1/go.mod h1:GKnFg8p/BKulVD3wsfULiPhpPmrTWyiTIbz8EWuUqSk=
3 git.kilimanjaro.io/ygo v0.0.0-20260503090516-faf2a9df4d2a h1:ThACqK57w+9JT+be/qWc2dZTIWmpbSGvzIQnQ7MclKk=
4 git.kilimanjaro.io/ygo v0.0.0-20260503090516-faf2a9df4d2a/go.mod h1:qTKMwEKRUC/pHImn8+hRwXYIGLAh3VjlQvjpKGXpf7M=
5+git.kilimanjaro.io/ygo v0.0.0-20260528001641-078700e025b9 h1:Kqdo83sfw1vN5fslETupKBc8j1E5U8kKjHeV4ZXA83g=
6+git.kilimanjaro.io/ygo v0.0.0-20260528001641-078700e025b9/go.mod h1:qTKMwEKRUC/pHImn8+hRwXYIGLAh3VjlQvjpKGXpf7M=
7 github.com/a-h/parse v0.0.0-20250122154542-74294addb73e h1:HjVbSQHy+dnlS6C3XajZ69NYAb5jbGNfHanvm1+iYlo=
8 github.com/a-h/parse v0.0.0-20250122154542-74294addb73e/go.mod h1:3mnrkvGpurZ4ZrTDbYU84xhwXW2TjTKShSwjRi2ihfQ=
9 github.com/a-h/templ v0.3.1020 h1:ypAT/L5ySWEnZ6Zft/5yfoWXYYkhFNvEFOeeqecg4tw=