ox: switch to the new darwin sdk pattern

https://discourse.nixos.org/t/the-darwin-sdks-have-been-updated/55295

Co-authored-by: Nick Cao <nickcao@nichi.co>
This commit is contained in:
Kenichi Kamiya
2024-11-09 09:16:57 +09:00
parent 992c80c02e
commit 96e67743ab

View File

@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, darwin }:
{ lib, stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "ox";
@@ -13,8 +13,6 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-2Jk8uDiTGUQqLOOQVlYm5R7qQXIqP0PkFvv5E5qTzT0=";
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.AppKit ];
meta = with lib; {
description = "Independent Rust text editor that runs in your terminal";
homepage = "https://github.com/curlpipe/ox";