The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
refactor(nix): stdenv.is* -> stdenv.hostPlatform.is*
ethernet0329638c2bf0
diff --git a/nix/devShell.nix b/nix/devShell.nixindex b38fd139a5a..a67440b7752 100644--- a/nix/devShell.nix+++ b/nix/devShell.nix@@ -31,7 +31,7 @@]# Wayland-only: cage and ghostty pull alsa-lib, which does not# evaluate on darwin.- ++ lib.optionals pkgs.stdenv.isLinux [+ ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [# Headless Wayland compositor for E2E tests (test:e2e:visual).# cage renders a single client with no window management, so# the Electron window opens at a fixed size without tiling.diff --git a/nix/hermes-agent.nix b/nix/hermes-agent.nixindex fac6a7be3d7..69a1ca67d72 100644--- a/nix/hermes-agent.nix+++ b/nix/hermes-agent.nix@@ -161,7 +161,7 @@ letgitopenssh]- ++ lib.optionals stdenv.isLinux [+ ++ lib.optionals stdenv.hostPlatform.isLinux [wl-clipboardxclip];@@ -402,7 +402,7 @@ stdenv.mkDerivation (finalAttrs: {devVenvpm]- ++ lib.optionals stdenv.isLinux [+ ++ lib.optionals stdenv.hostPlatform.isLinux [cage # for running e2e tests without popping windows];};diff --git a/nix/packages.nix b/nix/packages.nixindex 29641fa663a..cbda350dacc 100644--- a/nix/packages.nix+++ b/nix/packages.nix@@ -67,7 +67,7 @@"voice"]# matrix is Linux-only (oqs/liboqs lacks aarch64-darwin wheels).- ++ lib.optionals pkgs.stdenv.isLinux [ "matrix" ];+ ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [ "matrix" ];};in{diff --git a/nix/sandbox.nix b/nix/sandbox.nixindex b9a36a7c063..75248148762 100644--- a/nix/sandbox.nix+++ b/nix/sandbox.nix@@ -70,7 +70,7 @@ inwriteShellApplication {name = "sandbox";# darwin's Electron is self-contained, and these libraries are Linux-only.- text = lib.optionalString stdenv.isLinux ''+ text = lib.optionalString stdenv.hostPlatform.isLinux ''export LD_LIBRARY_PATH=${lib.makeLibraryPath electronRuntime}''${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}'' + ''exec ${../scripts/dev-sandbox.sh} "$@"