nix: move off deprecated stdenv.is* aliases

This commit is contained in:
Kristoffer Dalby
2026-08-25 05:29:37 +00:00
parent f02a027d91
commit 5e804240ed
+2 -2
View File
@@ -173,7 +173,7 @@
# go tool pprof -http=: <source>
graphviz
]
++ lib.optionals pkgs.stdenv.isLinux [ traceroute ];
++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [ traceroute ];
# Add entry to build a docker image with headscale
# caveat: only works on Linux
@@ -288,6 +288,6 @@
}
# The Go build/test checks are gated to Linux: parts of the tree are
# Linux-specific and the pure unit subset is validated by CI.
// pkgs.lib.optionalAttrs pkgs.stdenv.isLinux goChecks;
// pkgs.lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux goChecks;
});
}