topgrade: mark as broken on darwin

This commit is contained in:
Sandro Jäckel 2022-04-28 11:13:42 +02:00
parent 9b2e60ec0a
commit 282320a780
No known key found for this signature in database
GPG Key ID: B1763F8651144063
2 changed files with 11 additions and 3 deletions

View File

@ -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;
};
}

View File

@ -10851,7 +10851,7 @@ with pkgs;
toml2nix = (callPackage ../tools/toml2nix { }).toml2nix { };
topgrade = callPackage ../tools/misc/topgrade {
inherit (darwin.apple_sdk.frameworks) Foundation;
inherit (darwin.apple_sdk.frameworks) Cocoa Foundation;
};
top-git = callPackage ../applications/version-management/git-and-tools/topgit { };