about summary refs log tree commit diff
path: root/pkgs/tools/misc/topgrade
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@sap.com>2022-04-28 11:13:42 +0200
committerSandro Jäckel <sandro.jaeckel@sap.com>2022-04-28 14:32:08 +0200
commit282320a780c68a2b7579af3ea60f7c4486c80e02 (patch)
tree31eda53604d5342f321ab1801c3e6f3f8ccae22d /pkgs/tools/misc/topgrade
parent9b2e60ec0aa05c2fee5e5c6bfb6c6105c52738a9 (diff)
topgrade: mark as broken on darwin
Diffstat (limited to 'pkgs/tools/misc/topgrade')
-rw-r--r--pkgs/tools/misc/topgrade/default.nix12
1 files changed, 10 insertions, 2 deletions
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;
   };
 }