Skip to content

armgit / herdr

Public Imported from GitHub
0

the runtime your coding agents live on

refactor: name darwin nix toolchain inputs

Ogulcan Celik9524d0a3bc99
diff --git a/nix/package.nix b/nix/package.nix
index 939fff9b2..969d17fad 100644
--- a/nix/package.nix
+++ b/nix/package.nix
@@ -26,6 +26,10 @@ let
'') entries}
'';
};
+ darwinToolchain = lib.optionals stdenv.hostPlatform.isDarwin [
+ cctools
+ xcbuild
+ ];
in
rustPlatform.buildRustPackage {
pname = "herdr";
@@ -55,11 +59,7 @@ rustPlatform.buildRustPackage {
nativeBuildInputs = [
git
pkg-config
- ]
- ++ lib.optionals stdenv.hostPlatform.isDarwin [
- cctools
- xcbuild
- ];
+ ] ++ darwinToolchain;
env = {
LIBGHOSTTY_VT_OPTIMIZE = "ReleaseFast";