diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-22 22:29:58 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-22 22:29:58 +0300 |
| commit | 9524d0a3bc9912b2094a1bda38c845a10bb4ba7b (patch) | |
| tree | 70d6b8f1601bc2280138259f8efbb818bb2c0d4f | |
| parent | a8be6117f6975341a48b149f71d93c11e9efc8d8 (diff) | |
refactor: name darwin nix toolchain inputs
replaces contributions from DeevsDeevs
| -rw-r--r-- | nix/package.nix | 10 |
1 files 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"; |
