From 5e804240ed93419c7f5b55e1d559778e8ad55680 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Tue, 25 Aug 2026 05:29:37 +0000 Subject: [PATCH] nix: move off deprecated stdenv.is* aliases --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index e8278c26d..edfc229d3 100644 --- a/flake.nix +++ b/flake.nix @@ -173,7 +173,7 @@ # go tool pprof -http=: 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; }); }