From 9524d0a3bc9912b2094a1bda38c845a10bb4ba7b Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Wed, 22 Jul 2026 22:29:58 +0300 Subject: refactor: name darwin nix toolchain inputs replaces contributions from DeevsDeevs --- nix/package.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nix/package.nix b/nix/package.nix index 939fff9b..969d17fa 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"; -- cgit v1.2.3