From 282320a780c68a2b7579af3ea60f7c4486c80e02 Mon Sep 17 00:00:00 2001 From: Sandro Jäckel Date: Thu, 28 Apr 2022 11:13:42 +0200 Subject: topgrade: mark as broken on darwin --- pkgs/tools/misc/topgrade/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'pkgs/tools/misc/topgrade') diff --git a/pkgs/tools/misc/topgrade/default.nix b/pkgs/tools/misc/topgrade/default.nix index 9caf5cd0fdd82..3279150961c9f 100644 --- a/pkgs/tools/misc/topgrade/default.nix +++ b/pkgs/tools/misc/topgrade/default.nix @@ -1,4 +1,11 @@ -{ stdenv, lib, fetchFromGitHub, rustPlatform, Foundation, installShellFiles }: +{ stdenv +, lib +, fetchFromGitHub +, rustPlatform +, Cocoa +, Foundation +, installShellFiles +}: rustPlatform.buildRustPackage rec { pname = "topgrade"; @@ -13,7 +20,7 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "sha256-e5QJw5yY+ZkijqoqRauA5ncvLWiRlalYZCwSG5U7uDk="; - buildInputs = lib.optional stdenv.isDarwin Foundation; + buildInputs = lib.optionals stdenv.isDarwin [ Cocoa Foundation ]; nativeBuildInputs = [ installShellFiles ]; @@ -26,5 +33,6 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/r-darwish/topgrade"; license = licenses.gpl3Only; maintainers = with maintainers; [ Br1ght0ne hugoreeves SuperSandro2000 ]; + broken = stdenv.isDarwin; }; } -- cgit 1.4.1