aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/default.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-03-10 03:26:40 +0900
committerOphestra <cat@gensokyo.uk>2026-03-10 03:29:19 +0900
commit48cdf8bf852234ea3dad8dad3d571bb1d9546c32 (patch)
tree63c397201f9c4477296e6d53d126a9e631e6f0e9 /test/default.nix
parent7fb42ba49d33ba1499488d70095882d1627c5b0a (diff)
go: 1.26
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/default.nix')
-rw-r--r--test/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/default.nix b/test/default.nix
index 15614cc5..964e47be 100644
--- a/test/default.nix
+++ b/test/default.nix
@@ -34,7 +34,7 @@ testers.nixosTest {
(writeShellScriptBin "hakurei-test" ''
# Assert hst CGO_ENABLED=0: ${
with pkgs;
- runCommand "hakurei-hst-cgo" { nativeBuildInputs = [ go ]; } ''
+ runCommand "hakurei-hst-cgo" { nativeBuildInputs = [ self.packages.${system}.hakurei.go ]; } ''
cp -r ${options.environment.hakurei.package.default.src} "$out"
chmod -R +w "$out"
cp ${writeText "hst_cgo_test.go" ''package hakurei_test;import("testing";"hakurei.app/hst");func TestTemplate(t *testing.T){hst.Template()}''} "$out/hst_cgo_test.go"